public class SimpleExponentialAtmosphere extends Object implements Atmosphere
This model represents a simple atmosphere with an exponential density and rigidly bound to the underlying rotating body.
Constructor and Description |
---|
SimpleExponentialAtmosphere(BodyShape shape,
double rho0,
double h0,
double hscale)
Create an exponential atmosphere.
|
Modifier and Type | Method and Description |
---|---|
double |
getDensity(AbsoluteDate date,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
Frame frame)
Get the local density.
|
Frame |
getFrame()
Get the frame of the central body.
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getVelocity(AbsoluteDate date,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
Frame frame)
Get the inertial velocity of atmosphere molecules.
|
public SimpleExponentialAtmosphere(BodyShape shape, double rho0, double h0, double hscale)
shape
- body shape modelrho0
- Density at the altitude h0h0
- Altitude of reference (m)hscale
- Scale factorpublic Frame getFrame()
getFrame
in interface Atmosphere
public double getDensity(AbsoluteDate date, org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Frame frame) throws OrekitException
getDensity
in interface Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the positionOrekitException
- if date is out of range of solar activity model
or if some frame conversion cannot be performedpublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D getVelocity(AbsoluteDate date, org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Frame frame) throws OrekitException
getVelocity
in interface Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the positionOrekitException
- if some conversion cannot be performedCopyright © 2002–2016 CS Syst?mes d'Information. All rights reserved.