clump.contactmap

Syntax

m = clump.contactmap(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.contactmap function to retrieve the contacts with a given pebble.

Returns:

m - map of contacts

Note

Iterate over a FISH map 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.