clump.template.moi.prin

Syntax

v = clump.template.moi.prin(cp)

Get the clump template principal moment of inertia.

Returns:v - clump template principal moment of inertia vector or component
Arguments:cp - clump template pointer

Component Access

f = clump.template.moi.prin (cp)->x

f = clump.template.moi.prin.x(cp)

Get the \(x\)-component of the clump template principal moment of inertia.

Returns:f - \(x\)-component of the clump template principal moment of inertia vector
Arguments:cp - clump pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding optional integer(s) in the function arguments (e.g., f = clump.template.moi(cp, 1, 1)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = clump.template.moi.prin.y(cp)
f = clump.template.moi.prin.z(cp) (3D ONLY)