Potential due to gravity (third body)
[pot] = CL_fo_thirdBodyPot(pos, pos_b, mu_b)
Potential due to third body.
By definition, the acceleration derived from the potential is +grad(potential).
Notes:
- The origin for all position vectors must be the central body.
- The coordinates frame can be any frame.
See Force models for more details.
Position vector (from central body) [m]. (3xN or 3x1)
Position vector of third body (from central body) [m]. (3xN or 3x1)
Gravitational constant of third body [m^3/s^2]. (1x1)
Potential [m^2/s^2]. (1xN)
CNES - DCT/SB