wall.contactnum

Syntax

ir = wall.contactnum(w<,i>)

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

Note

Contacts with all facets in w are counted. Use the wall.facet.contactnum function to retrieve the contact count with a given facet.

Returns:

ir - active contact number

Arguments:

w - wall pointer

i - optional unique piece type identification integer