Compute , the normalized CRTBP parameter. It is equal to .
Note
The inputs can either be mu's or masses, as long are they are both the same units.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | mu1 |
grav param for body 1 |
||
real(kind=wp), | intent(in) | :: | mu2 |
grav param for body 2 |
CRTBP parameter
pure function compute_crtpb_parameter(mu1,mu2) result(mu) implicit none real(wp),intent(in) :: mu1 !! grav param for body 1 \([km^3/s^2]\) real(wp),intent(in) :: mu2 !! grav param for body 2 \([km^3/s^2]\) real(wp) :: mu !! CRTBP parameter \(\mu\) mu = mu2 / (mu1 + mu2) end function compute_crtpb_parameter