clump.contactnum

Syntax

ir = clump.contactnum(c<,i>)

Get number of active contacts around a clump. The optional argument enables filtering by contact type.

Note

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

Returns:

ir - active contact number

Arguments:

c - clump pointer

i - optional unique contact type identification integer