public class MSISE2000 extends Object implements ExtendedAtmosphere
NRLMSISE00
class - adapted from Fortran - and the SIRIUS data
structures.
Warning: this model is not continuous. There is a discontinuity every day (at 0h in UTC time scale). Discontinuities are however very small (1E-3 on a relative scale).
Constructor and Description |
---|
MSISE2000(MSISE2000InputParameters data,
BodyShape earthBody,
CelestialBody sunBody)
Simple constructor for class MSIS00Adapter.
|
Modifier and Type | Method and Description |
---|---|
AtmosphereData |
getData(AbsoluteDate date,
Vector3D position,
Frame frame)
Get detailed atmospheric data.
|
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local density.
|
double |
getPressure(AbsoluteDate date,
Vector3D position,
Frame frame)
Returns pressure.
|
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 MSISE2000(MSISE2000InputParameters data, BodyShape earthBody, CelestialBody sunBody)
data
- solar dataearthBody
- earth bodysunBody
- the sunpublic double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
getDensity
in interface Atmosphere
date
- 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 double getPressure(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
date
- dateposition
- positionframe
- framePatriusException
- thrown if pressure could not be computedpublic Vector3D getVelocity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
getVelocity
in interface Atmosphere
date
- 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 Atmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the positionPatriusException
- if some conversion cannot be performedpublic AtmosphereData getData(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
MSISE2000 provides all data mentioned in AtmosphereData
.
getData
in interface ExtendedAtmosphere
date
- current dateposition
- current position in frameframe
- the frame in which is defined the positionPatriusException
- if some atmospheric data cannot be retrieved (because date is out of
range of solar activity model or if some frame conversion cannot be performed)Copyright © 2017 CNES. All rights reserved.