Subroutine Type |
Utility/Data Access |
|
Definition |
Returns the gravitational acceleration specified using Force_Gravity modeling element. |
|
Use |
The function can be called by any user-defined subroutine. |
|
Calling Syntax |
Fortran CALL GET_GRAVITY(GX, GY, GZ)
C c_get_gravity(gx, gy, gz)
Python [gx, gy, gz] = py_gravity()
MATLAB [gx, gy, gz] = m_gravity() |
|
Input Arguments |
None |
|
Output Values |
[double precision] GX |
X component of gravity. |
[double precision] GY |
Y component of gravity. |
|
[double precision] GZ |
Z component of gravity. |