public class US76 extends Object implements Atmosphere
This class implements the US76 atmospheric model.
Constructor and Description |
---|
US76(BodyShape earthBody)
Simple constructor for class US76
|
Modifier and Type | Method and Description |
---|---|
double |
getDensity(AbsoluteDate date,
Vector3D position,
Frame frame)
Get the local density for altitude in interval [0, 1E6] m
|
double |
getPress(AbsoluteDate date,
Vector3D position,
Frame frame)
Get 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)
Get 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(BodyShape earthBody)
earthBody
- earth bodypublic double getTemp(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Get the local temperature for altitude in interval [0, 1E6] m
Note: if altitude < 0 m or altitude > 1E6 m the temperature corresponding to the closest bound is returned.
date
- date to compute temperature, pression, and densityposition
- position vectorframe
- frame where the position vector is expressedPatriusException
- OrekitException if point cannot be converted to body framepublic double getPress(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Get the local pressure for altitude in interval [0, 1E6] m
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
- OrekitException if point cannot be converted to body framepublic double getDensity(AbsoluteDate date, Vector3D position, Frame frame) throws PatriusException
Get the local density for altitude in interval [0, 1E6] m
Note: if altitude < 0 m or altitude > 1E6 m the density corresponding to the closest bound is returned.
getDensity
in interface Atmosphere
date
- dateposition
- position vectorframe
- frame where the position vector is expressedPatriusException
- OrekitException if point cannot be converted to body framepublic 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 performedCopyright © 2017 CNES. All rights reserved.