Interface Atmosphere

    • Method Detail

      • getFrame

        Frame getFrame()
        Get the frame of the central body.
        Returns:
        frame of the central body.
        Since:
        6.0
      • getDensity

        double getDensity​(AbsoluteDate date,
                          Vector3D position,
                          Frame frame)
        Get the local density.
        Parameters:
        date - current date
        position - current position in frame
        frame - the frame in which is defined the position
        Returns:
        local density (kg/m³)
      • getDensity

        <T extends CalculusFieldElement<T>> T getDensity​(FieldAbsoluteDate<T> date,
                                                         FieldVector3D<T> position,
                                                         Frame frame)
        Get the local density.
        Type Parameters:
        T - instance of CalculusFieldElement
        Parameters:
        date - current date
        position - current position in frame
        frame - the frame in which is defined the position
        Returns:
        local density (kg/m³)
      • getVelocity

        default Vector3D getVelocity​(AbsoluteDate date,
                                     Vector3D position,
                                     Frame frame)
        Get the inertial velocity of atmosphere molecules.

        By default, atmosphere is supposed to have a null velocity in the central body frame.

        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)
      • getVelocity

        default <T extends CalculusFieldElement<T>> FieldVector3D<T> getVelocity​(FieldAbsoluteDate<T> date,
                                                                                 FieldVector3D<T> position,
                                                                                 Frame frame)
        Get the inertial velocity of atmosphere molecules.
        Type Parameters:
        T - instance of CalculusFieldElement
        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)