clump.thermal.contactnum.all

Syntax

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

Get the number of thermal contacts around a thermal clump. (Inactive contacts are included.) 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.all function to retrieve the thermal contact count with a given thermal pebble.

Returns:

ir - thermal contact number

Arguments:

ct - thermal clump pointer

i - optional unique piece type identification integer