HyperWorks Solvers

GET_GRAVITY

GET_GRAVITY

Previous topic Next topic No expanding text in this topic  

GET_GRAVITY

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

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.

See Also:

Data Access Subroutines