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 shapeIn,
double rho0In,
double h0In,
double hscaleIn)
Create an exponential atmosphere.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local density.
|
double |
getSpeedOfSound(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local speed of sound.
|
Vector3D |
getVelocity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the spacecraft velocity relative to the atmosphere.
|
public SimpleExponentialAtmosphere(BodyShape shapeIn, double rho0In, double h0In, double hscaleIn)
shapeIn - body shape modelrho0In - Density at the altitude h0h0In - Altitude of reference (m)hscaleIn - Scale factor (m)public double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
getDensity in interface Atmospheredate - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if date is out of range of solar activity model
or if some frame conversion cannot be performedpublic Vector3D getVelocity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
getVelocity in interface Atmospheredate - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if some conversion cannot be performedpublic double getSpeedOfSound(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
getSpeedOfSound in interface Atmospheredate - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if some conversion cannot be performedCopyright © 2017 CNES. All rights reserved.