Class PythonRawSphericalHarmonicsProvider
- java.lang.Object
-
- org.orekit.forces.gravity.potential.PythonRawSphericalHarmonicsProvider
-
- All Implemented Interfaces:
RawSphericalHarmonicsProvider
,SphericalHarmonicsProvider
,TideSystemProvider
public class PythonRawSphericalHarmonicsProvider extends Object implements RawSphericalHarmonicsProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.orekit.forces.gravity.potential.RawSphericalHarmonicsProvider
RawSphericalHarmonicsProvider.RawSphericalHarmonics
-
-
Constructor Summary
Constructors Constructor Description PythonRawSphericalHarmonicsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectdouble
getAe()
Get the value of the central body reference radius.int
getMaxDegree()
Get the maximal supported degree.int
getMaxOrder()
Get the maximal supported order.double
getMu()
Get the central body attraction coefficient.double
getOffset(AbsoluteDate date)
Get the offset fromreference date
for the harmonics.AbsoluteDate
getReferenceDate()
Get the reference date for the harmonics.TideSystem
getTideSystem()
Get theTideSystem
used in the gravity field.RawSphericalHarmonicsProvider.RawSphericalHarmonics
onDate(AbsoluteDate date)
Get the raw spherical harmonic coefficients on a specific date.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
-
onDate
public RawSphericalHarmonicsProvider.RawSphericalHarmonics onDate(AbsoluteDate date)
Get the raw spherical harmonic coefficients on a specific date.- Specified by:
onDate
in interfaceRawSphericalHarmonicsProvider
- Parameters:
date
- to evaluate the spherical harmonics- Returns:
- the raw spherical harmonics on
date
.
-
getMaxDegree
public int getMaxDegree()
Get the maximal supported degree.- Specified by:
getMaxDegree
in interfaceSphericalHarmonicsProvider
- Returns:
- maximal supported degree
-
getMaxOrder
public int getMaxOrder()
Get the maximal supported order.- Specified by:
getMaxOrder
in interfaceSphericalHarmonicsProvider
- Returns:
- maximal supported order
-
getMu
public double getMu()
Get the central body attraction coefficient.- Specified by:
getMu
in interfaceSphericalHarmonicsProvider
- Returns:
- mu (m³/s²)
-
getAe
public double getAe()
Get the value of the central body reference radius.- Specified by:
getAe
in interfaceSphericalHarmonicsProvider
- Returns:
- ae (m)
-
getReferenceDate
public AbsoluteDate getReferenceDate()
Get the reference date for the harmonics.- Specified by:
getReferenceDate
in interfaceSphericalHarmonicsProvider
- Returns:
- reference date for the harmonics
-
getOffset
public double getOffset(AbsoluteDate date)
Get the offset fromreference date
for the harmonics.- Specified by:
getOffset
in interfaceSphericalHarmonicsProvider
- Parameters:
date
- current date- Returns:
- offset between current date and reference date if there is a reference
date, or 0.0 if there are no reference dates (i.e. if
getReferenceDate()
returns null)
-
getTideSystem
public TideSystem getTideSystem()
Get theTideSystem
used in the gravity field.- Specified by:
getTideSystem
in interfaceTideSystemProvider
- Returns:
- tide system used in the gravity field
-
-