clump.moi.prin.real

Syntax

Vector Access

v = clump.moi.prin.real(c<,i>)
clump.moi.prin.real(c<,i>) = v

Get/set the clump real principal moment of inertia.

Note

When modified, no other clump attributes are changed (e.g., pebble sizes, clump volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a clump unless the user changes the fix state (see clump.moi.fix).

Returns:

v - clump real principal moment of inertia vector or component

Accepts:

v - clump real principal moment of inertia vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.moi.prin.real.x(c)
clump.moi.prin.real.x(c) = f

Get/set the x-component of the clump real principal moment of inertia.

Note

When modified, no other clump attributes are changed (e.g., pebble sizes, clump volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a clump unless the user changes the fix state (see clump.moi.fix).

Returns:f - x-component of the clump real principal moment of inertia vector
Accepts:f - x-component of the clump real principal moment of inertia vector
Arguments:c - clump pointer
f = clump.moi.prin.real.y(c)
clump.moi.prin.real.y(c) = f

Get/set the y-component of the clump real principal moment of inertia.

Note

When modified, no other clump attributes are changed (e.g., pebble sizes, clump volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a clump unless the user changes the fix state (see clump.moi.fix).

Returns:f - y-component of the clump real principal moment of inertia vector
Accepts:f - y-component of the clump real principal moment of inertia vector
Arguments:c - clump pointer
f = clump.moi.prin.real.z(c) (3D ONLY)
clump.moi.prin.real.z(c) = f (3D ONLY)

Get/set the z-component of the clump real principal moment of inertia.

Note

When modified, no other clump attributes are changed (e.g., pebble sizes, clump volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a clump unless the user changes the fix state (see clump.moi.fix).

Returns:f - z-component of the clump real principal moment of inertia vector
Accepts:f - z-component of the clump real principal moment of inertia vector
Arguments:c - clump pointer