clump.force.contact

Syntax

Vector Access

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

Get/set the clump contact force. The contact force vector is defined as the sum of the contact force vectors acting on the ball and is updated during force-displacement calculation.

Returns:

v - clump contact force vector or component

Accepts:

v - clump contact force vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.force.contact.x(c)
clump.force.contact.x(c) = f

Get/set the x-component of the clump contact force.

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

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

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

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

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