clump.thermal.contactnum

Syntax

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

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

Note

Contacts with all thermal pebbles in ct are counted. Use the clump.thermal.pebble.contactnum function to retrieve the thermal contact count with a given thermal pebble.

Returns:

ir - active thermal contact number

Arguments:

ct - thermal clump pointer

i - optional unique piece type identification integer