interface.node.state

Syntax

i := interface.node.state(n)

Return the interface model state indicator for interface node n.

The various state flags are encoded as bits in the returned state indicator. The integer values corresponding to flags are:

32 = In Contact

128 = Shear Fail Past

256 = Shear Fail Now

512 = Tension Failure

1024 = Shear Bond Failure

Individual bits in the integer can be tested using the intrinsic math.and.

Returns:

i - interface node state value

Arguments:

n - interface node pointer