GETMOD
Utility/Data Access SubroutineRetrieves the analysis mode during MotionSolve execution.
Definition
The mode is a numerical value that represents the type of analysis currently being executed. The mode can be retrieved from any user subroutine and used to branch the execution depending on its value. A typical example is using the mode to determine if MotionSolve is executing a static or dynamic analysis.
Use
The function can be called by any user-defined subroutine.
Format
- Fortran Calling Syntax
- CALL GETMOD (MODE)
- C/C++ Calling Syntax
- c_getmod(mode)
- Python Calling Syntax
- mode = py_getmod()
- MATLAB Calling Syntax
- mode =m_getmod()
Output
- mode
- [integer]