Class SimpleExponentialAtmosphere
java.lang.Object
org.orekit.models.earth.atmosphere.SimpleExponentialAtmosphere
- All Implemented Interfaces:
Atmosphere
Simple exponential atmospheric model.
This model represents a simple atmosphere with an exponential density and rigidly bound to the underlying rotating body.
- Author:
- Fabien Maussion, Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleExponentialAtmosphere(BodyShape shape, double rho0, double h0, double hscale) Create an exponential atmosphere. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDensity(AbsoluteDate date, Vector3D position, Frame frame) Get the local density.<T extends CalculusFieldElement<T>>
TgetDensity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame) Get the local density.getFrame()Get the frame of the central body.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.models.earth.atmosphere.Atmosphere
getVelocity, getVelocity
-
Constructor Details
-
SimpleExponentialAtmosphere
Create an exponential atmosphere.- Parameters:
shape- body shape modelrho0- Density at the altitude h0h0- Altitude of reference (m)hscale- Scale factor
-
-
Method Details
-
getFrame
Get the frame of the central body.- Specified by:
getFramein interfaceAtmosphere- Returns:
- frame of the central body.
-
getDensity
Get the local density.- Specified by:
getDensityin interfaceAtmosphere- Parameters:
date- current dateposition- current position in frameframe- the frame in which is defined the position- Returns:
- local density (kg/m³)
-
getDensity
public <T extends CalculusFieldElement<T>> T getDensity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame) Description copied from interface:AtmosphereGet the local density.- Specified by:
getDensityin interfaceAtmosphere- Type Parameters:
T- instance of CalculusFieldElement- Parameters:
date- current dateposition- current position in frameframe- the frame in which is defined the position- Returns:
- local density (kg/m³)
-