org.orekit.frames.configuration.tides
Class TidalCorrectionPerThread

java.lang.Object
  extended by org.orekit.frames.configuration.tides.TidalCorrectionPerThread
All Implemented Interfaces:
TidalCorrectionModel

public abstract class TidalCorrectionPerThread
extends Object
implements TidalCorrectionModel

Provides per-thread TidalCorrectionModel.

Since:
3.3
Version:
$Id: TidalCorrectionPerThread.java 16650 2016-09-21 07:09:12Z bignon $
Author:
Marc Madaule

Constructor Summary
TidalCorrectionPerThread()
           
 
Method Summary
protected abstract  TidalCorrectionModel buildModel()
          Factory method to create a model.
 double getLODCorrection(AbsoluteDate date)
          Get length of day correction.
 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.
 boolean isDirect()
          Returns true if model uses direct computation, false if interpolated computation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TidalCorrectionPerThread

public TidalCorrectionPerThread()
Method Detail

getPoleCorrection

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

Specified by:
getPoleCorrection in interface TidalCorrectionModel
Parameters:
date - date
Returns:
pole correction

getUT1Correction

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

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

getLODCorrection

public double getLODCorrection(AbsoluteDate date)
Get length of day correction.

Specified by:
getLODCorrection in interface TidalCorrectionModel
Parameters:
date - date
Returns:
length of day correction (in secs)

buildModel

protected abstract TidalCorrectionModel 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 TidalCorrectionModel
Returns:
IERS model origin

isDirect

public boolean isDirect()
Returns true if model uses direct computation, false if interpolated computation.

Specified by:
isDirect in interface TidalCorrectionModel
Returns:
true if model uses direct computation, false if interpolated computation


Copyright © 2016 CNES. All Rights Reserved.