contact.prop.index

Syntax

i = contact.prop.index(c,s)

Get a contact model property index. An exception is thrown if the contact model does not support the specified property. The contact model property index is preferred versus a string when in multithreaded computations. This index can be used with the contact.prop and contact.isprop functions.

The list of mechanical contact models is given in the “Contact Models” section. In the documentation for each contact model, a Properties table exists. These include: the linear, linear contact bond, linear parallel bond, hertz, hysteretic, smooth joint, flat joint, and fish property tables.

Returns:

i - property index

Arguments:

c - contact pointer

s - property name