GET_GRAVITY
Utility/Data Access SubroutineReturns the gravitational acceleration specified using Force_Gravity modeling element.
Use
The function can be called by any user-defined subroutine.
Format
- Fortran Calling Syntax
- CALL GET_GRAVITY(GX, GY, GZ)
- C/C++ Calling Syntax
- c_get_gravity(gx, gy, gz)
- Python Calling Syntax
- [gx, gy, gz] = py_get_gravity()
- MATLAB Calling Syntax
- [gx, gy, gz] = m_get_gravity()
Output
- GX
- [double precision]
- GY
- [double precision]
- GZ
- [double precision]