GET_RFLEX_INVVARM1

 

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

 

Langunage type

SubRoutine

FORTRAN

call get_rflex_invvarm1(ifbody, invvarm1, errflg)

C/C++

get_rflex_invvarm1(ifbody, &invvarm1, &errflg)

 

Parameter information

 

Variable Name

Size

Description

ifbody

int

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

invvarm1

double

An array of double precision type. This argument is the invariant variable M1 of a selected RFlex body. The invariant variable M1 is the total mass of RFlex body.

Invariant variable M1 :  where,  is a lumped mass on the  node.

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.