Class SimpleExponentialAtmosphere
- java.lang.Object
-
- org.orekit.models.earth.atmosphere.SimpleExponentialAtmosphere
-
- All Implemented Interfaces:
Serializable
,Atmosphere
public class SimpleExponentialAtmosphere extends Object implements 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleExponentialAtmosphere(BodyShape shape, double rho0, double h0, double hscale)
Create an exponential atmosphere.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDensity(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.Frame
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, wait
-
Methods inherited from interface org.orekit.models.earth.atmosphere.Atmosphere
getVelocity, getVelocity
-
-
-
-
Constructor Detail
-
SimpleExponentialAtmosphere
public SimpleExponentialAtmosphere(BodyShape shape, double rho0, double h0, double hscale)
Create an exponential atmosphere.- Parameters:
shape
- body shape modelrho0
- Density at the altitude h0h0
- Altitude of reference (m)hscale
- Scale factor
-
-
Method Detail
-
getFrame
public Frame getFrame()
Get the frame of the central body.- Specified by:
getFrame
in interfaceAtmosphere
- Returns:
- frame of the central body.
-
getDensity
public double getDensity(AbsoluteDate date, Vector3D position, Frame frame)
Get the local density.- Specified by:
getDensity
in 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:Atmosphere
Get the local density.- Specified by:
getDensity
in 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³)
-
-