org.orekit.frames.configuration.libration
Class LibrationCorrectionPerThread

java.lang.Object
  extended by org.orekit.frames.configuration.libration.LibrationCorrectionPerThread
All Implemented Interfaces:
Serializable, LibrationCorrectionModel

public abstract class LibrationCorrectionPerThread
extends Object
implements LibrationCorrectionModel

Provides per-thread LibrationCorrectionModel.

Since:
3.3
Version:
$Id: LibrationCorrectionPerThread.java 16650 2016-09-21 07:09:12Z bignon $
Author:
Marc Madaule
See Also:
Serialized Form

Constructor Summary
LibrationCorrectionPerThread()
           
 
Method Summary
protected abstract  LibrationCorrectionModel buildModel()
          Factory method to create a model.
 FrameConvention getOrigin()
          Get IERS model origin.
 PoleCorrection getPoleCorrection(AbsoluteDate date)
          Compute the pole corrections at a given date.
 double getUT1Correction(AbsoluteDate date)
          Compute the UT1-TAI corrections at a given date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibrationCorrectionPerThread

public LibrationCorrectionPerThread()
Method Detail

getPoleCorrection

public PoleCorrection getPoleCorrection(AbsoluteDate date)
                                 throws OrekitException
Compute the pole corrections at a given date.

Specified by:
getPoleCorrection in interface LibrationCorrectionModel
Parameters:
date - date
Returns:
pole correction
Throws:
OrekitException - when an Orekit error occurs

getUT1Correction

public double getUT1Correction(AbsoluteDate date)
Compute the UT1-TAI corrections at a given date.

Specified by:
getUT1Correction in interface LibrationCorrectionModel
Parameters:
date - date
Returns:
ut1-tai corrections

buildModel

protected abstract LibrationCorrectionModel buildModel()
Factory method to create a model. This method is called once for each thread using this object.

Returns:
a model

getOrigin

public FrameConvention getOrigin()
Get IERS model origin.

Specified by:
getOrigin in interface LibrationCorrectionModel
Returns:
IERS model origin


Copyright © 2016 CNES. All Rights Reserved.