NMODES

Utility/Data Access SubroutineRetrieves the number of modal generalized coordinates corresponding to a Body_Flexible element.

Use

The function can be called by any user-defined subroutine.

Format

Fortran Calling Syntax
CALL NMODES(ID, NQ, ERRFLG)
C/C++ Calling Syntax
c_nmodes(id, nq, errflg)
Python Calling Syntax
[nq, errflg] = py_nmodes(id)
MATLAB Calling Syntax
[nq, errflg] = m_nmodes(id)

Attributes

ID
[integer]
The identifier of the corresponding Body_Flexible element.

Output

NQ
[integer]
A scalar integer value that contains the total number of modal generalized coordinates for the flexible body.
ERRFLG
[logical]
A value that is true if an error occurs during the call to NMODES.