Subroutine SRBM_DEF
Defines Simple Rigid Body Motion (SRBM).
Calling convention:
call srbm_def(Grp, type,origin, vector,srmb_id, parent, ierr)
Arguments | Data type | Input/Output | Description |
---|---|---|---|
grp |
Char*7 | Input | Group name of elements that move |
type |
Integer | Input | The type of motion, 0=rotary, 1=translation |
origin |
Real array(3) | Input | The coordinates of a point through which the axis of rotation passes. Not used for translational motion. |
vector |
Real array(3) | Input | Vector parallel to rotational axis or direction of translation. For rotation the axis is a vector parallel to this, passing through the defined origin. |
Parent_id |
Integer | Input | ID of parent SRMB. Negative value means no parent. |
Srmb_id |
Integer | Output | The internal id assigned to this SRMB definition by TMG |
Ierr |
Integer | Output | Error flag:
|