Class GTODProvider
- java.lang.Object
-
- org.orekit.frames.GTODProvider
-
- All Implemented Interfaces:
Serializable
,EOPBasedTransformProvider
,TransformProvider
public class GTODProvider extends Object implements EOPBasedTransformProvider
Greenwich True Of Date Frame, also known as True of Date Rotating frame (TDR) or Greenwich Rotating Coordinate frame (GCR).This frame handles the sidereal time according to IAU-82 model.
Its parent frame is the
TODProvider
.The pole motion is not applied here.
- Author:
- Pascal Parraud, Thierry Ceolin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GTODProvider(IERSConventions conventions, EOPHistory eopHistory, TimeScales timeScales)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EOPHistory
getEOPHistory()
Get the EOP history.GTODProvider
getNonInterpolatingProvider()
Get a version of the provider that does not cache tidal corrections.StaticTransform
getStaticTransform(AbsoluteDate date)
Get a transform for only rotations and translations on the specified date.<T extends CalculusFieldElement<T>>
FieldStaticTransform<T>getStaticTransform(FieldAbsoluteDate<T> date)
Get a transform for only rotations and translations on the specified date.Transform
getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.<T extends CalculusFieldElement<T>>
FieldTransform<T>getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.
-
-
-
Constructor Detail
-
GTODProvider
protected GTODProvider(IERSConventions conventions, EOPHistory eopHistory, TimeScales timeScales)
Simple constructor.- Parameters:
conventions
- IERS conventions to useeopHistory
- EOP history (may be null)timeScales
- set of time scales to use.- Since:
- 10.1
-
-
Method Detail
-
getEOPHistory
public EOPHistory getEOPHistory()
Get the EOP history.- Specified by:
getEOPHistory
in interfaceEOPBasedTransformProvider
- Returns:
- EOP history
-
getNonInterpolatingProvider
public GTODProvider getNonInterpolatingProvider()
Get a version of the provider that does not cache tidal corrections.This method removes the performance enhancing interpolation features that are used by default in EOP-based provider, in order to focus on accuracy. The interpolation features are intended to save processing time by avoiding doing tidal correction evaluation at each time step and caching some results. This method can be used to avoid this (it is automatically called by
FramesFactory.getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
, when very high accuracy is desired, or for testing purposes. It should be used with care, as doing the full computation is really costly.- Specified by:
getNonInterpolatingProvider
in interfaceEOPBasedTransformProvider
- Returns:
- version of the provider that does not cache tidal corrections
- See Also:
FramesFactory.getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
-
getTransform
public Transform getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Parameters:
date
- current date- Returns:
- transform at specified date
-
getStaticTransform
public StaticTransform getStaticTransform(AbsoluteDate date)
Get a transform for only rotations and translations on the specified date.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)
but implementations may override it for better performance.- Specified by:
getStaticTransform
in interfaceTransformProvider
- Parameters:
date
- current date.- Returns:
- the static transform.
-
getTransform
public <T extends CalculusFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the field elements- Parameters:
date
- current date- Returns:
- transform at specified date
-
getStaticTransform
public <T extends CalculusFieldElement<T>> FieldStaticTransform<T> getStaticTransform(FieldAbsoluteDate<T> date)
Get a transform for only rotations and translations on the specified date.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)
but implementations may override it for better performance.- Specified by:
getStaticTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the elements- Parameters:
date
- current date.- Returns:
- the static transform.
-
-