Class PythonAtmosphere
- java.lang.Object
-
- org.orekit.models.earth.atmosphere.PythonAtmosphere
-
- All Implemented Interfaces:
Serializable
,Atmosphere
public class PythonAtmosphere extends Object implements Atmosphere
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PythonAtmosphere()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectdouble
getDensity(AbsoluteDate date, Vector3D position, Frame frame)
Get the local density.<T extends CalculusFieldElement<T>>
TgetDensity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the local density.<T extends CalculusFieldElement<T>>
TgetDensity_FFF(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the local density.Frame
getFrame()
Get the frame of the central body.Vector3D
getVelocity(AbsoluteDate date, Vector3D position, Frame frame)
Get the inertial velocity of atmosphere molecules.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getVelocity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the inertial velocity of atmosphere molecules.<T extends CalculusFieldElement<T>>
FieldVector3D<T>getVelocity_FFF(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the inertial velocity of atmosphere molecules.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getFrame
public Frame getFrame()
Get the frame of the central body.- Specified by:
getFrame
in interfaceAtmosphere
- Returns:
- frame of the central body.
- Since:
- 6.0
-
getDensity
public double getDensity(AbsoluteDate date, Vector3D position, Frame frame)
Get the local density. Extension point for Python.- Specified by:
getDensity
in interfaceAtmosphere
- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- local density (kg/m³)
-
getDensity
public <T extends CalculusFieldElement<T>> T getDensity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the local density. Redirects to getDensity_FFF- Specified by:
getDensity
in interfaceAtmosphere
- Type Parameters:
T
- instance of CalculusFieldElement- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- local density (kg/m³)
-
getDensity_FFF
public <T extends CalculusFieldElement<T>> T getDensity_FFF(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the local density. Extension point for Python.- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- local density (kg/m³)
-
getVelocity
public Vector3D getVelocity(AbsoluteDate date, Vector3D position, Frame frame)
Get the inertial velocity of atmosphere molecules. Extension point for Python.By default, atmosphere is supposed to have a null velocity in the central body frame.
- Specified by:
getVelocity
in interfaceAtmosphere
- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- velocity (m/s) (defined in the same frame as the position)
-
getVelocity
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getVelocity(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the inertial velocity of atmosphere molecules. Redirects to getVelocity_FFF(...)- Specified by:
getVelocity
in interfaceAtmosphere
- Type Parameters:
T
- instance of CalculusFieldElement- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- velocity (m/s) (defined in the same frame as the position)
-
getVelocity_FFF
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getVelocity_FFF(FieldAbsoluteDate<T> date, FieldVector3D<T> position, Frame frame)
Get the inertial velocity of atmosphere molecules. Extension point for Python.- Parameters:
date
- current dateposition
- current position in frameframe
- the frame in which is defined the position- Returns:
- velocity (m/s) (defined in the same frame as the position)
-
-