Elliptic Kepler's equation written in terms of the eccentric anomaly difference. See Battin, eqn 4.43.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | de |
eccentric anomaly difference |
||
real(kind=wp), | intent(in) | :: | dm |
mean anomaly difference |
||
real(kind=wp), | intent(in) | :: | sigma0 | |||
real(kind=wp), | intent(in) | :: | sqrta | |||
real(kind=wp), | intent(in) | :: | a | |||
real(kind=wp), | intent(in) | :: | r |
pure function kepde(de, dm, sigma0, sqrta, a, r) implicit none real(wp),intent(in) :: de !! eccentric anomaly difference real(wp),intent(in) :: dm !! mean anomaly difference real(wp),intent(in) :: sigma0 real(wp),intent(in) :: sqrta real(wp),intent(in) :: a real(wp),intent(in) :: r real(wp) :: kepde kepde = -dm + de + sigma0 / sqrta * (one - cos(de)) - & (one - r / a) * sin(de) end function kepde