f = rblock.vol(b)
rblock.vol(b) = f

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


When modified, no other rigid block 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 rigid block unless the user changes the fix state (see rblock.moi.fix).

Returns:f - rigid block volume
Accepts:f - rigid block volume
Arguments:b - rigid block pointer