public class CachedNormalizedSphericalHarmonicsProvider extends Object implements NormalizedSphericalHarmonicsProvider
此包装器通过以用户定义的速率对值进行采样并在样本之间使用插值来提高NormalizedSphericalHarmonicsProvider的效率。这对于具有亚日频率且计算密集的提供者(如潮汐场)非常重要。
NormalizedSphericalHarmonicsProvider
, SolidTides
, TimeStampedCache
NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics
Constructor and Description |
---|
CachedNormalizedSphericalHarmonicsProvider(NormalizedSphericalHarmonicsProvider rawProvider, double step, int nbPoints, int maxSlots, double maxSpan, double newSlotInterval)
简单构造函数。
|
Modifier and Type | Method and Description |
---|---|
double |
getAe()
获取中心天体参考半径的值。
|
int |
getMaxDegree()
获取支持的最大度数。
|
int |
getMaxOrder()
获取支持的最大阶数。
|
double |
getMu()
获取中心天体引力系数。
|
AbsoluteDate |
getReferenceDate()
获取谐波的参考日期。
|
TideSystem |
getTideSystem()
获取重力场中使用的 TideSystem 。
|
NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics |
onDate(AbsoluteDate date)
获取特定时间点的归一化球谐系数。
|
public CachedNormalizedSphericalHarmonicsProvider(NormalizedSphericalHarmonicsProvider rawProvider, double step, int nbPoints, int maxSlots, double maxSpan, double newSlotInterval)
rawProvider
- 基础原始提供者
step
- 用于插值的样本点之间的时间步长
nbPoints
- 用于插值的点数,必须至少为2
maxSlots
- 独立缓存时间槽的最大数量
maxSpan
- 一个时间槽的最大持续时间跨度(如果需要,可以设置为Double.POSITIVE_INFINITY
)
newSlotInterval
- 超过此时间间隔时,将创建一个新的时间槽,而不是扩展现有时间槽
public int getMaxDegree()
getMaxDegree
在接口 SphericalHarmonicsProvider
public int getMaxOrder()
getMaxOrder
在接口 SphericalHarmonicsProvider
public double getMu()
getMu
在接口 SphericalHarmonicsProvider
public double getAe()
getAe
在接口 SphericalHarmonicsProvider
public AbsoluteDate getReferenceDate()
对于分段模型,将返回最新的参考日期。
getReferenceDate
在接口 SphericalHarmonicsProvider
public TideSystem getTideSystem()
TideSystem
。
getTideSystem
在接口 TideSystemProvider
public NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics onDate(AbsoluteDate date)
onDate
在接口 NormalizedSphericalHarmonicsProvider
date
- 评估的日期
date
上的归一化系数。
Copyright © 2002-2023 CS GROUP. All rights reserved.