clump.vol

Syntax

f = clump.vol(c)
clump.vol(c) = f

Get/set the clump volume. In 2D, this is the volume per unit thickness.

Note

When modified, no other clump attributes are changed (e.g., moment of inertia, pebble sizes). The specification of the volume 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 - clump volume
Accepts:f - clump volume
Arguments:c - clump pointer