Package org.orekit.bodies
Class CR3BPSystem
java.lang.Object
org.orekit.bodies.CR3BPSystem
Class creating, from two different celestial bodies, the corresponding system
with respect to the Circular Restricted Three Body problem hypotheses.
- Since:
- 10.2
- Author:
- Vincent Mouraux, William Desprats
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCR3BPSystem(CelestialBody primaryBody, CelestialBody secondaryBody, double a) Simple constructor.CR3BPSystem(CelestialBody primaryBody, CelestialBody secondaryBody, double a, double mu) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDdim()Get the CR3BP distance between the two bodies.doublegetGamma(LagrangianPoints lagrangianPoint) Get the position of the Lagrangian point in the CR3BP Rotating frame.getLPosition(LagrangianPoints lagrangianPoint) Get the position of the Lagrangian point in the CR3BP Rotating frame.doubleGet the CR3BP mass ratio of the system mu2/(mu1+mu2).getName()Get the name of the CR3BP system.Get the primary CelestialBody.getRealAPV(AbsolutePVCoordinates apv0, AbsoluteDate initialDate, Frame outputFrame) Get the AbsolutePVCoordinates from normalized units to standard units in an output frame.Get the CR3BP Rotating Frame.Get the secondary CelestialBody.doublegetTdim()Get the CR3BP orbital period of m2 around m1.doublegetVdim()Get the CR3BP orbital velocity of m2.
-
Constructor Details
-
CR3BPSystem
Simple constructor.Standard constructor to use to define a CR3BP System. Mass ratio is calculated from JPL data.
- Parameters:
primaryBody- Primary Body in the CR3BP SystemsecondaryBody- Secondary Body in the CR3BP Systema- Semi-Major Axis of the secondary body
-
CR3BPSystem
Simple constructor.This constructor can be used to define a CR3BP System if the user wants to use a specified mass ratio.
- Parameters:
primaryBody- Primary Body in the CR3BP SystemsecondaryBody- Secondary Body in the CR3BP Systema- Semi-Major Axis of the secondary bodymu- Mass ratio of the CR3BPSystem
-
-
Method Details
-
getMassRatio
public double getMassRatio()Get the CR3BP mass ratio of the system mu2/(mu1+mu2).- Returns:
- CR3BP mass ratio of the system mu2/(mu1+mu2)
-
getDdim
public double getDdim()Get the CR3BP distance between the two bodies.- Returns:
- CR3BP distance between the two bodies(m)
-
getVdim
public double getVdim()Get the CR3BP orbital velocity of m2.- Returns:
- CR3BP orbital velocity of m2(m/s)
-
getTdim
public double getTdim()Get the CR3BP orbital period of m2 around m1.- Returns:
- CR3BP orbital period of m2 around m1(s)
-
getName
Get the name of the CR3BP system.- Returns:
- name of the CR3BP system
-
getPrimary
Get the primary CelestialBody.- Returns:
- primary CelestialBody
-
getSecondary
Get the secondary CelestialBody.- Returns:
- secondary CelestialBody
-
getRotatingFrame
Get the CR3BP Rotating Frame.- Returns:
- CR3BP Rotating Frame
-
getLPosition
Get the position of the Lagrangian point in the CR3BP Rotating frame.- Parameters:
lagrangianPoint- Lagrangian Point to consider- Returns:
- position of the Lagrangian point in the CR3BP Rotating frame (-)
-
getGamma
Get the position of the Lagrangian point in the CR3BP Rotating frame.- Parameters:
lagrangianPoint- Lagrangian Point to consider- Returns:
- Distance between a Lagrangian Point and its closest primary.
-
getRealAPV
public AbsolutePVCoordinates getRealAPV(AbsolutePVCoordinates apv0, AbsoluteDate initialDate, Frame outputFrame) Get the AbsolutePVCoordinates from normalized units to standard units in an output frame. This method ensure the constituency of the date of returned AbsolutePVCoordinate, especially when apv0 is the result of a propagation in CR3BP normalized model.- Parameters:
apv0- Normalized AbsolutePVCoordinates in the rotating frameinitialDate- Date of the at the beginning of the propagationoutputFrame- Frame in which the output AbsolutePVCoordinates will be- Returns:
- AbsolutePVCoordinates in the output frame [m,m/s]
-