GET_RFLEX_MACC

 

The Get_rflex_macc subroutine returns the modal accelerations (the second order time derivative of modal coordinates) of a selected RFlex body in the current simulation time. This is an auxiliary subroutine for MODAL_FORCE.

 

Langunage type

SubRoutine

FORTRAN

call get_rflex_macc(ifbody, ma, errflg)

C/C++

get_rflex_macc(ifbody, ma, &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

ma

double

An array of double precision type. The array size are must be number of selected modes (=nmode) in the property page of RFlex body. The nmode is a related argument with 9th argument of MODAL_FORCE subroutine. This argument is the modal acceleration result of a selected RFlex body in the current simulation time.

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.