clump.vel

Syntax

Vector Access

v = clump.vel(c<,i>)
clump.vel(c<,i>) = v

Get/set the clump velocity.

Returns:

v - clump velocity vector or component

Accepts:

v - clump velocity vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.vel.x(c)
clump.vel.x(c) = f

Get/set the x-component of the clump velocity.

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

Get/set the y-component of the clump velocity.

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

Get/set the z-component of the clump velocity.

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