GET_RFLEX_MCOOR

 

The Get_rflex_mcoor subroutine returns the 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_mcoor (ifbody, mc, errflg)

C/C++

get_rflex_mcoor (ifbody, mc, &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

mc

double

An array of double precision type. The array size are must be the number of selected modes (=nmode) in the property page of RFlex body. The nmode is a related argument with the 9th argument of MODAL_FORCE subroutine. This argument is the modal coordinate 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.