fr.cnes.genopus.nonWidget.forces.atmosphere
Class CustomSimpleExponentialAtmosphere

java.lang.Object
  extended by org.orekit.forces.atmospheres.SimpleExponentialAtmosphere
      extended by fr.cnes.genopus.nonWidget.forces.atmosphere.CustomSimpleExponentialAtmosphere
All Implemented Interfaces:
CustomAtmosphere, Serializable, org.orekit.forces.atmospheres.Atmosphere

public class CustomSimpleExponentialAtmosphere
extends org.orekit.forces.atmospheres.SimpleExponentialAtmosphere
implements CustomAtmosphere

Layer over the super class to add missing getters and clone method.

Author:
ffsm
See Also:
Serialized Form

Constructor Summary
CustomSimpleExponentialAtmosphere(org.orekit.bodies.BodyShape shape, double rho0, double h0, double hscale)
           
 
Method Summary
 CustomAtmosphere cloneAtmosphere()
          Returns a new instance of the same type of atmosphere created with the same parametes.
 double getH0()
          Getter for the Altitude of reference (m).
 double getHscale()
          Getter for the Scale factor (m).
 double getRho0()
          Getter for the Density at the altitude h0.
 org.orekit.bodies.BodyShape getShape()
          Getter for the Body shape model.
 String toString()
          
 
Methods inherited from class org.orekit.forces.atmospheres.SimpleExponentialAtmosphere
getDensity, getSpeedOfSound, getVelocity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.orekit.forces.atmospheres.Atmosphere
getDensity, getSpeedOfSound, getVelocity
 

Constructor Detail

CustomSimpleExponentialAtmosphere

public CustomSimpleExponentialAtmosphere(org.orekit.bodies.BodyShape shape,
                                         double rho0,
                                         double h0,
                                         double hscale)
Parameters:
shape - Body shape model
rho0 - Density at the altitude h0
h0 - Altitude of reference (m)
hscale - Scale factor (m)
See Also:
SimpleExponentialAtmosphere.SimpleExponentialAtmosphere(BodyShape, double, double, double)
Method Detail

getShape

public org.orekit.bodies.BodyShape getShape()
Getter for the Body shape model.

Returns:
the Body shape model

getRho0

public double getRho0()
Getter for the Density at the altitude h0.

Returns:
the Density at the altitude h0

getH0

public double getH0()
Getter for the Altitude of reference (m).

Returns:
the Altitude of reference (m)

getHscale

public double getHscale()
Getter for the Scale factor (m).

Returns:
the Scale factor (m)

cloneAtmosphere

public CustomAtmosphere cloneAtmosphere()
                                 throws org.orekit.errors.OrekitException
Returns a new instance of the same type of atmosphere created with the same parametes.

Specified by:
cloneAtmosphere in interface CustomAtmosphere
Returns:
a new atmosphere instance.
Throws:
org.orekit.errors.OrekitException - if some resource file reading error occurs

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.