clump.moment.contact

Syntax

v = clump.moment.contact(cp)
clump.moment.contact(cp) = v

Get/set the clump contact moment.

Returns:v - clump contact moment vector
Accepts:v - clump contact moment vector
Arguments:cp - clump pointer

Component Access

f = clump.moment.contact (cp)->x
clump.moment.contact (cp)->x = f

f = clump.moment.contact.x(cp)
clump.moment.contact.x(cp) = f

Get/set the \(x\)-component of the clump contact moment.

Returns:f - \(x\)-component of the clump contact moment vector
Accepts:f - \(x\)-component of the clump contact moment vector
Arguments:cp - clump 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 = clump.moment.contact(cp,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 = clump.moment.contact.y(cp)
f = clump.moment.contact.z(cp) (3D ONLY)