GET_NFORCE_ADDARG

 

GET_NFORCE_ADDARG subroutine returns Nodal Force Sequential id, FFlex body sequential id, node sequential id and node id. This is an auxiliary subroutine for Nodal_Force.

 

Langunage type

SubRoutine

FORTRAN

call get_nforce_addarg(nfid,ifbody,nodeseq,nodeid,ErrFlg)

C/C++

get_nforce_addarg(&nfid,&ifbody,&nodeseq,&nodeid,&errflg)

 

Parameter information

 

Variable Name

Size

Description

nfid

int

Sequential id of Nodal Force which is calculating. This is a related argument with the 1st argument of Nodal_Force subroutine.

ifbody

int

Sequential id of FFlex body defined in RecurDyn/Solver. If nodal force applied MTT2D system, this value is negative.

NodeSeq

int

Node sequential id defined in RecurDyn/Solver.

NodeID

int

This Node id can be found in each body. If nodal force applied MTT2D system, this value measn segment id.

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.