GET_RFLEX_INVVARM2

 

The Get_rflex_invvarm2 subroutine returns the invariant variable M2 of a selected RFlex body. This is an auxiliary subroutine for MODAL_FORCE.

 

Langunage type

SubRoutine

FORTRAN

call get_rflex_invvarm2(ifbody, invvarm2, errflg)

C/C++

get_rflex_invvarm2(ifbody, invvarm2, &errflg)

 

Parameter information

 

Variable Name

Size

Description

ifbody

int

Sequential id of RFlex body defined in RecurDyn/Solver. This is a related argument with the 5th argument of MODAL_FORCE subroutine.

Invvarm2

double [3]

An array of double precision type. The array size must be 3. This argument is the invariant variable M2 of a selected RFlex body.

Invariant variable M2 :

Where,  is a lumped mass on the  node and  is an initial position of  node with respect to the reference frame of RFlex body.

errflg

int

Error flag.

If the result of this argument is -1 (means TRUE in Fortran logical value), there is no error.

The others mean that there is an error.