Gravity model
Third-body (pointmass) gravitational acceleration.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(3) | :: | r |
satellite position vector [km] |
|
| real(kind=wp), | intent(in), | dimension(3) | :: | rb |
third-body position vector [km] |
|
| real(kind=wp), | intent(in) | :: | mu |
third-body gravitational parameter [km^3/s^2] |
||
| real(kind=wp), | intent(out), | dimension(3) | :: | acc |
gravity acceleration vector [km/s^2] |
Third-body (pointmass) gravitational acceleration (alternate Battin formulation). See Equation 8.61 in Battin.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(3) | :: | r |
satellite position vector [km] |
|
| real(kind=wp), | intent(in), | dimension(3) | :: | rb |
third-body position vector [km] |
|
| real(kind=wp), | intent(in) | :: | mu |
third-body gravitational parameter [km^3/s^2] |
||
| real(kind=wp), | intent(out), | dimension(3) | :: | acc |
gravity acceleration vector [km/s^2] |
Gravitational acceleration due to simplified spherical harmonic expansion (only the J2-J4 terms are used).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | dimension(3) | :: | r |
satellite position vector [km] |
|
| real(kind=wp), | intent(in) | :: | mu |
central body gravitational parameter [km^3/s^2] |
||
| real(kind=wp), | intent(in) | :: | req |
body equatorial radius [km] |
||
| real(kind=wp), | intent(in) | :: | j2 |
j2 coefficient |
||
| real(kind=wp), | intent(in) | :: | j3 |
j3 coefficient |
||
| real(kind=wp), | intent(in) | :: | j4 |
j4 coefficient |
||
| real(kind=wp), | intent(out), | dimension(3) | :: | acc |
gravity acceleration vector [km/s^2] |