org.orekit.forces.atmospheres
Class SimpleExponentialAtmosphere

java.lang.Object
  extended by org.orekit.forces.atmospheres.SimpleExponentialAtmosphere
All Implemented Interfaces:
Serializable, Atmosphere

public class SimpleExponentialAtmosphere
extends Object
implements Atmosphere

Simple exponential atmospheric model.

This model represents a simple atmosphere with an exponential density and rigidly bound to the underlying rotating body.

Author:
Fabien Maussion, Luc Maisonobe
See Also:
Serialized Form

Constructor Summary
SimpleExponentialAtmosphere(BodyShape shape, double rho0, double h0, double hscale)
          Create an exponential atmosphere.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleExponentialAtmosphere

public SimpleExponentialAtmosphere(BodyShape shape,
                                   double rho0,
                                   double h0,
                                   double hscale)
Create an exponential atmosphere.

Parameters:
shape - body shape model
rho0 - Density at the altitude h0
h0 - Altitude of reference (m)
hscale - Scale factor (m)
Method Detail

getDensity

public double getDensity(AbsoluteDate date,
                         Vector3D position,
                         Frame frame)
                  throws OrekitException
Get the local density.

Specified by:
getDensity in interface Atmosphere
Parameters:
date - current date
position - current position in frame
frame - the frame in which is defined the position
Returns:
local density (kg/m3)
Throws:
OrekitException - if date is out of range of solar activity model or if some frame conversion cannot be performed

getVelocity

public Vector3D getVelocity(AbsoluteDate date,
                            Vector3D position,
                            Frame frame)
                     throws OrekitException
Get the spacecraft velocity relative to the atmosphere.

Specified by:
getVelocity in interface Atmosphere
Parameters:
date - current date
position - current position in frame
frame - the frame in which is defined the position
Returns:
velocity (m/s) (defined in the same frame as the position)
Throws:
OrekitException - if some conversion cannot be performed

getSpeedOfSound

public double getSpeedOfSound(AbsoluteDate date,
                              Vector3D position,
                              Frame frame)
                       throws OrekitException
Get the local speed of sound.

Specified by:
getSpeedOfSound in interface Atmosphere
Parameters:
date - current date
position - current position in frame
frame - the frame in which is defined the position
Returns:
speed of sound (m/s)
Throws:
OrekitException - if some conversion cannot be performed


Copyright © 2016 CNES. All Rights Reserved.