| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=DP), | intent(in) | :: | GMcb |
GMass of the central body |
||
| real(kind=DP), | intent(in) | :: | r_0 |
radius of the central body |
||
| real(kind=DP), | intent(in) | :: | phi_cb |
rotation phase angle of the central body |
||
| real(kind=DP), | intent(in), | dimension(:) | :: | rh |
distance vector of body |
|
| real(kind=DP), | intent(in), | dimension(:, :, :) | :: | c_lm |
Spherical Harmonic coefficients |
|
| real(kind=DP), | intent(out), | dimension(NDIM) | :: | g_sph |
acceleration vector |
|
| real(kind=DP), | intent(in), | optional | :: | GMpl |
Mass of input body if it is not a test particle |
|
| real(kind=DP), | intent(inout), | optional, | dimension(:) | :: | aoblcb |
Barycentric acceleration of central body (only for massive input b |
Calculate the acceleration terms for one pair of bodies given c_lm, theta, phi, r