clump.thermal.pebble.contactnum

Syntax

ir = clump.thermal.pebble.contactnum(pt<,i>)

Get the number of active thermal contacts around a thermal pebble. The optional argument enables filtering by contacting piece type.

Returns:

ir - active thermal contact number

Arguments:

pt - thermal pebble pointer

i - optional unique piece type identification integer