rm | A marker ID which references location for computing Angular Momentum. |
p | A double-precision array (length=3) that specifies the (x,y,z) components of total Linear Momentum of all Bodies with mass. The value is expressed in GCS. |
l | A double-precision array (length=3) that specifies the (x,y,z) components of total Angular Momentum of all Bodies with mass. The value is expressed in GCS. It is computed about the location specified by input parameter rm. |
Caution: | The SYSTEM_MOMENTUM utility subroutine provides access to state-dependent information to the user-written subroutines. However, since this information is expected to be used only for monitoring and control purposes and not to affect the dynamics, no functional dependencies are registered. Consequently, this utility subroutine can only be called from the user-written subroutines that cannot add functional dependencies - REQSUB, SENSUB, SEVSUB, CONSUB and CBKSUB. |