clump.moment.contact

Syntax

Vector Access

v = clump.moment.contact(c<,i>)
clump.moment.contact(c<,i>) = v

Get/set the clump contact moment.

Returns:

v - clump contact moment vector or component

Accepts:

v - clump contact moment vector or component

Arguments:

c - clump pointer

i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.

Component Access

f = clump.moment.contact.x(c) (3D ONLY)
clump.moment.contact.x(c) = f (3D ONLY)

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:c - clump pointer
f = clump.moment.contact.y(c) (3D ONLY)
clump.moment.contact.y(c) = f (3D ONLY)

Get/set the y-component of the clump contact moment.

Returns:f - y-component of the clump contact moment vector
Accepts:f - y-component of the clump contact moment vector
Arguments:c - clump pointer
f = clump.moment.contact.z(c)
clump.moment.contact.z(c) = f

Get/set the z-component of the clump contact moment.

Returns:f - z-component of the clump contact moment vector
Accepts:f - z-component of the clump contact moment vector
Arguments:c - clump pointer