public class CR3BPSystem extends Object
Constructor and Description |
---|
CR3BPSystem(CelestialBody primaryBody,
CelestialBody secondaryBody,
double a)
Simple constructor.
|
CR3BPSystem(CelestialBody primaryBody,
CelestialBody secondaryBody,
double a,
double mu)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDdim()
Get the CR3BP distance between the two bodies.
|
double |
getGamma(LagrangianPoints lagrangianPoint)
Get the position of the Lagrangian point in the CR3BP Rotating frame.
|
Vector3D |
getLPosition(LagrangianPoints lagrangianPoint)
Get the position of the Lagrangian point in the CR3BP Rotating frame.
|
double |
getMassRatio()
Get the CR3BP mass ratio of the system mu2/(mu1+mu2).
|
String |
getName()
Get the name of the CR3BP system.
|
CelestialBody |
getPrimary()
Get the primary CelestialBody.
|
AbsolutePVCoordinates |
getRealAPV(AbsolutePVCoordinates apv0,
AbsoluteDate initialDate,
Frame outputFrame)
Get the AbsolutePVCoordinates from normalized units to standard units in an output frame.
|
Frame |
getRotatingFrame()
Get the CR3BP Rotating Frame.
|
CelestialBody |
getSecondary()
Get the secondary CelestialBody.
|
double |
getTdim()
Get the CR3BP orbital period of m2 around m1.
|
double |
getVdim()
Get the CR3BP orbital velocity of m2.
|
public CR3BPSystem(CelestialBody primaryBody, CelestialBody secondaryBody, double a)
Standard constructor to use to define a CR3BP System. Mass ratio is calculated from JPL data.
primaryBody
- Primary Body in the CR3BP SystemsecondaryBody
- Secondary Body in the CR3BP Systema
- Semi-Major Axis of the secondary bodypublic CR3BPSystem(CelestialBody primaryBody, CelestialBody secondaryBody, double a, double mu)
This constructor can be used to define a CR3BP System if the user wants to use a specified mass ratio.
primaryBody
- Primary Body in the CR3BP SystemsecondaryBody
- Secondary Body in the CR3BP Systema
- Semi-Major Axis of the secondary bodymu
- Mass ratio of the CR3BPSystempublic double getMassRatio()
public double getDdim()
public double getVdim()
public double getTdim()
public String getName()
public CelestialBody getPrimary()
public CelestialBody getSecondary()
public Frame getRotatingFrame()
public Vector3D getLPosition(LagrangianPoints lagrangianPoint)
lagrangianPoint
- Lagrangian Point to considerpublic double getGamma(LagrangianPoints lagrangianPoint)
lagrangianPoint
- Lagrangian Point to considerpublic AbsolutePVCoordinates getRealAPV(AbsolutePVCoordinates apv0, AbsoluteDate initialDate, Frame outputFrame)
apv0
- Normalized AbsolutePVCoordinates in the rotating frameinitialDate
- Date of the at the beginning of the propagationoutputFrame
- Frame in which the output AbsolutePVCoordinates will beCopyright © 2002-2020 CS GROUP. All rights reserved.