Class 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 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
    • Method Detail

      • getFrame

        public Frame getFrame()
        Get the frame of the central body.
        Specified by:
        getFrame in interface Atmosphere
        Returns:
        frame of the central body.
      • getDensity

        public double getDensity​(AbsoluteDate date,
                                 org.hipparchus.geometry.euclidean.threed.Vector3D position,
                                 Frame frame)
        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/m³)
      • getDensity

        public <T extends org.hipparchus.RealFieldElement<T>> T getDensity​(FieldAbsoluteDate<T> date,
                                                                           org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> position,
                                                                           Frame frame)
        Description copied from interface: Atmosphere
        Get the local density.
        Specified by:
        getDensity in interface Atmosphere
        Type Parameters:
        T - instance of RealFieldElement
        Parameters:
        date - current date
        position - current position in frame
        frame - the frame in which is defined the position
        Returns:
        local density (kg/m³)