Standish ephemeris class for computing the approximate positions of the major planets.
Return the state of the targ body relative to
the obs body, in the inertial frame [ICRF].
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(standish_ephemeris), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | et |
ephemeris time [sec] |
||
| type(celestial_body), | intent(in) | :: | targ |
target body |
||
| type(celestial_body), | intent(in) | :: | obs |
observer body |
||
| real(kind=wp), | intent(out), | dimension(6) | :: | rv |
state of targ w.r.t. obs [km, km/s] |
|
| logical, | intent(out) | :: | status_ok |
true if there were no problems |
Return the position of the targ body relative to
the obs body, in the inertial frame [ICRF].
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(standish_ephemeris), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | et |
ephemeris time [sec] |
||
| type(celestial_body), | intent(in) | :: | targ |
target body |
||
| type(celestial_body), | intent(in) | :: | obs |
observer body |
||
| real(kind=wp), | intent(out), | dimension(3) | :: | r |
position of targ w.r.t. obs [km] |
|
| logical, | intent(out) | :: | status_ok |
true if there were no problems |
type,extends(ephemeris_class),public :: standish_ephemeris !! Standish ephemeris class for computing the !! approximate positions of the major planets. contains procedure,public :: get_rv => standish_rv_func procedure,public :: get_r => standish_r_func end type standish_ephemeris