clump.contact.list

Syntax

l = clump.contact.list(c<,i><,p>)

Get active contacts around a clump. The optional arguments enable filtering by contact type and/or contacting piece pointer.

Note

Contacts with all pebbles in c are returned. Use the clump.pebble.contact.list function to retrieve the contacts with a given pebble.

Returns:

l - list of contacts

Note

Iterate over a FISH list using the loop foreach construct.

Arguments:

c - clump pointer

i - optional contact typeid used to filter the returned contacts

p - Optional piece pointer that can either be a ball, pebble, or facet pointer.