rblock.moi.prin.real
Syntax
- v = rblock.moi.prin.real(p)
- rblock.moi.prin.real(p) = v
Get/set the rigid block real principal moment of inertia.
Note
When modified, no other rigid block attributes are changed. 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 rigid block unless the user changes the fix state (see
rblock.moi.fix
).
Component Access
f = rblock.moi.prin.real
(p)->x
rblock.moi.prin.real
(p)->x
= f
- f = rblock.moi.prin.real.x(p)
- rblock.moi.prin.real.x(p) = f
Get/set the \(x\)-component of the rigid block real principal moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block 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 rigid block unless the user changes the fix state (see
rblock.moi.fix
).
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 an optional integer in the function arguments (e.g., f = rblock.moi.prin.real(p, 3)
) 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.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |