Class SimpleExponentialAtmosphere
- java.lang.Object
-
- org.orekit.forces.drag.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, org.hipparchus.geometry.euclidean.threed.Vector3D position, Frame frame)
Get the local density.<T extends org.hipparchus.RealFieldElement<T>>
TgetDensity(FieldAbsoluteDate<T> date, org.hipparchus.geometry.euclidean.threed.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.forces.drag.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, org.hipparchus.geometry.euclidean.threed.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 org.hipparchus.RealFieldElement<T>> T getDensity(FieldAbsoluteDate<T> date, org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> position, Frame frame)
Description copied from interface:Atmosphere
Get the local density.- Specified by:
getDensity
in interfaceAtmosphere
- Type Parameters:
T
- instance of RealFieldElement- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- local density (kg/m³)
-
-