contact.shear

Syntax

v = contact.shear(c)

Get the contact shear direction.

Returns:v - shear direction vector
Arguments:c - contact pointer

Component Access

f = contact.shear (c)->x

f = contact.shear.x(c)

Get the \(x\)-component of the contact shear direction.

Returns:f - \(x\)-component of the contact shear direction vector
Arguments:c - contact pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (e.g., f = contact.shear(c,3)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = contact.shear.y(c)
f = contact.shear.z(c) (3D ONLY)