clump.calculate

Syntax

v = clump.calculate(c<,f>)

Calculate the inertial properties. The current pebble distribution is used with a voxelation approach to calculate the inertial properties within a specified error. See the clump template command for further details. The pebbles are not translated, but the clump centroid location may be modified. The moment of inertia will be modified by changes in volume or density after this operation.

Returns:

v - void return

Arguments:

c - clump pointer

f - Optional error percentage with 0.0005 < f < 1. By default, f = 0.01.