public class Jacchia77 extends Object implements Atmosphere
This class implements the Jaccia77 atmospheric model.
This class is restricted to be used with EllipsoidBodyShape.
Jacchia77Data which can read data through a public access
(initTempWmMaps()) which is not synchronized (thread lock) at the moment.| Constructor and Description |
|---|
Jacchia77(IStelaSolarActivity solarActivity,
EllipsoidBodyShape earthBody,
PVCoordinatesProvider sun)
Simple constructor to build an instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkSolarActivityData(AbsoluteDate start,
AbsoluteDate end)
This methods throws an exception if the user did not provide solar activity on the provided interval [start,
end].
|
Atmosphere |
copy()
A copy of the atmosphere.
|
JacchiaOutput |
getData(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the atmospheric model output container.
|
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the density at the local point.
|
EllipsoidBodyShape |
getEarthBody()
Getter for the earth body.
|
double |
getMeanMolarMass(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the mean molar mass at the local point.
|
IStelaSolarActivity |
getSolarActivity()
Getter for the solar activity.
|
double |
getSpeedOfSound(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local speed of sound.
|
PVCoordinatesProvider |
getSun()
Getter for the sun.
|
double |
getTemperature(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the temperature at the local point.
|
Vector3D |
getVelocity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the spacecraft velocity relative to the atmosphere.
|
public Jacchia77(IStelaSolarActivity solarActivity, EllipsoidBodyShape earthBody, PVCoordinatesProvider sun)
solarActivity - Solar activityearthBody - Earth bodysun - Sunpublic JacchiaOutput getData(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Note: a cache mechanism avoid recomputation of the output container if it should be recomputed a second time with the same inputs.
date - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if a Patrius error occurspublic double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
The default behavior of this method is to only compute the density (not the temperature nor the mean molar
mass).
Note: a cache mechanism avoid recomputation of this parameter if it should be recomputed a second time with
the same inputs.
getDensity in interface Atmospheredate - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if a Patrius error occurspublic double getTemperature(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
The default behavior of this method is to compute the temperature as well as the density and the mean molar
mass.
Note: a cache mechanism avoid recomputation of these parameters if they should be recomputed a second time with
the same inputs.
date - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if a Patrius error occurspublic double getMeanMolarMass(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
The default behavior of this method is to compute the mean molar mass as well as the density and the
temperature.
Note: a cache mechanism avoid recomputation of these parameters if they should be recomputed a second time with
the same inputs.
date - current dateposition - current position in frameframe - the frame in which is defined the positionPatriusException - if a Patrius error occurspublic 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 performedpublic IStelaSolarActivity getSolarActivity()
public EllipsoidBodyShape getEarthBody()
public PVCoordinatesProvider getSun()
public Atmosphere copy()
copy in interface Atmospherepublic void checkSolarActivityData(AbsoluteDate start, AbsoluteDate end) throws PatriusException
checkSolarActivityData in interface Atmospherestart - range start dateend - range end datePatriusException - thrown if some solar activity data is missingCopyright © 2025 CNES. All rights reserved.