contact.isenergy

Syntax

b = contact.isenergy(c,s)

Query the existence of a contact model energy partition.

Returns:

b - true if the energy exists, false otherwise

Arguments:

c - contact pointer

s - energy partition name