NormalizedSphericalHarmonicsProvider, SphericalHarmonicsProvider, TideSystemProviderpublic class CachedNormalizedSphericalHarmonicsProvider extends Object implements NormalizedSphericalHarmonicsProvider
NormalizedSphericalHarmonicsProvider.
This wrapper improves efficiency of NormalizedSphericalHarmonicsProvider
by sampling the values at a user defined rate and using interpolation
between samples. This is important with providers that have sub-daily
frequencies and are computing intensive, such as tides fields.
NormalizedSphericalHarmonicsProvider,
SolidTides,
TimeStampedCacheNormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics| Constructor | Description |
|---|---|
CachedNormalizedSphericalHarmonicsProvider(NormalizedSphericalHarmonicsProvider rawProvider,
double step,
int nbPoints,
int maxSlots,
double maxSpan,
double newSlotInterval) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
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 from
reference date for the harmonics. |
AbsoluteDate |
getReferenceDate() |
Get the reference date for the harmonics.
|
TideSystem |
getTideSystem() |
Get the
TideSystem used in the gravity field. |
NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics |
onDate(AbsoluteDate date) |
Get the normalized spherical harmonic coefficients at a specific instance in time.
|
public CachedNormalizedSphericalHarmonicsProvider(NormalizedSphericalHarmonicsProvider rawProvider, double step, int nbPoints, int maxSlots, double maxSpan, double newSlotInterval)
rawProvider - underlying raw providerstep - time step between sample points for interpolationnbPoints - number of points to use for interpolation, must be at least 2maxSlots - maximum number of independent cached time slotsmaxSpan - maximum duration span in seconds of one slot
(can be set to Double.POSITIVE_INFINITY if desired)newSlotInterval - time interval above which a new slot is created
instead of extending an existing onepublic int getMaxDegree()
getMaxDegree in interface SphericalHarmonicsProviderpublic int getMaxOrder()
getMaxOrder in interface SphericalHarmonicsProviderpublic double getMu()
getMu in interface SphericalHarmonicsProviderpublic double getAe()
getAe in interface SphericalHarmonicsProviderpublic AbsoluteDate getReferenceDate()
getReferenceDate in interface SphericalHarmonicsProviderpublic double getOffset(AbsoluteDate date)
reference date for the harmonics.getOffset in interface SphericalHarmonicsProviderdate - current dateSphericalHarmonicsProvider.getReferenceDate()
returns null)public TideSystem getTideSystem()
TideSystem used in the gravity field.getTideSystem in interface TideSystemProviderpublic NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics onDate(AbsoluteDate date) throws TimeStampedCacheException
onDate in interface NormalizedSphericalHarmonicsProviderdate - of evaluationdate.TimeStampedCacheExceptionCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.