public class US76 extends Object implements Atmosphere
This class implements the US76 atmospheric model.
This class is restricted to be used with EllipsoidBodyShape.
| Constructor and Description |
|---|
US76(EllipsoidBodyShape earthBody)
Simple constructor for class US76.
|
| 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.
|
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the local density for altitude in interval [0, 1E6]m.
|
BodyShape |
getEarthBody()
Getter for the earth body.
|
double |
getPress(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the local pressure for altitude in interval [0, 1E6]m.
|
double |
getSpeedOfSound(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local speed of sound.
|
double |
getTemp(AbsoluteDate date,
Vector3D position,
Frame frame)
Getter for the local temperature for altitude in interval [0, 1E6]m.
|
Vector3D |
getVelocity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the spacecraft velocity relative to the atmosphere.
|
public US76(EllipsoidBodyShape earthBody)
earthBody - earth bodypublic double getTemp(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Note: if altitude < 0 m or altitude > 1E6 m the temperature corresponding to the closest bound is returned.
date - date to compute temperature, pressure, and densityposition - position vectorframe - frame where the position vector is expressedPatriusException - if point cannot be converted to body framepublic double getPress(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Note: if altitude < 0 m or altitude > 1E6 m the pressure corresponding to the closest bound is returned.
date - date to compute temperature, pression, and densityposition - position vectorframe - frame where the position vector is expressedPatriusException - if point cannot be converted to body framepublic double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Note: if altitude < 0 m or altitude > 1E6 m the density corresponding to the closest bound is returned.
getDensity in interface Atmospheredate - dateposition - position vectorframe - frame where the position vector is expressedPatriusException - if point cannot be converted to body framepublic 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 BodyShape getEarthBody()
public Atmosphere copy()
The following attributes are not deeply copied:
BodyShapecopy in interface Atmospherepublic void checkSolarActivityData(AbsoluteDate start, AbsoluteDate end)
checkSolarActivityData in interface Atmospherestart - range start dateend - range end dateCopyright © 2024 CNES. All rights reserved.