Class AbstractGaussianContribution.FieldGaussianShortPeriodicCoefficients<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.forces.AbstractGaussianContribution.FieldGaussianShortPeriodicCoefficients<T>
-
- Type Parameters:
T
- type of the field elements
- All Implemented Interfaces:
FieldShortPeriodTerms<T>
- Enclosing class:
- AbstractGaussianContribution
protected static class AbstractGaussianContribution.FieldGaussianShortPeriodicCoefficients<T extends CalculusFieldElement<T>> extends Object implements FieldShortPeriodTerms<T>
This class handles the short periodic coefficients described in Danielson 2.5.3-26.The value of M is 0. Also, since the values of the Fourier coefficient Dim is 0 then the values of the coefficients Dim for m > 2 are also 0.
- Author:
- Petre Bazavan, Lucian Barbulescu
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractGaussianContribution.FieldSlot<T>
createSlot(FieldSpacecraftState<T>... meanStates)
Get the slot valid for some date.Map<String,T[]>
getCoefficients(FieldAbsoluteDate<T> date, Set<String> selected)
Computes the coefficients involved in the contributions.String
getCoefficientsKeyPrefix()
Get the prefix for short period coefficients keys.T[]
value(FieldOrbit<T> meanOrbit)
Evaluate the contributions of the short period terms.
-
-
-
Method Detail
-
createSlot
public AbstractGaussianContribution.FieldSlot<T> createSlot(FieldSpacecraftState<T>... meanStates)
Get the slot valid for some date.- Parameters:
meanStates
- mean states defining the slot- Returns:
- slot valid at the specified date
-
value
public T[] value(FieldOrbit<T> meanOrbit)
Evaluate the contributions of the short period terms.- Specified by:
value
in interfaceFieldShortPeriodTerms<T extends CalculusFieldElement<T>>
- Parameters:
meanOrbit
- mean orbit to which the short period contribution applies- Returns:
- short period terms contributions
-
getCoefficientsKeyPrefix
public String getCoefficientsKeyPrefix()
Get the prefix for short period coefficients keys.This prefix is used to identify the coefficients of the current force model from the coefficients pertaining to other force models. All the keys in the map returned by
FieldShortPeriodTerms.getCoefficients(FieldAbsoluteDate, Set)
start with this prefix, which must be unique among all providers.- Specified by:
getCoefficientsKeyPrefix
in interfaceFieldShortPeriodTerms<T extends CalculusFieldElement<T>>
- Returns:
- the prefix for short periodic coefficients keys
- See Also:
FieldShortPeriodTerms.getCoefficients(FieldAbsoluteDate, Set)
-
getCoefficients
public Map<String,T[]> getCoefficients(FieldAbsoluteDate<T> date, Set<String> selected)
Computes the coefficients involved in the contributions.This method is intended mainly for validation purposes. Its output is highly dependent on the implementation details in each force model and may change from version to version. It is not recommended to use it for any operational purposes.
For Gaussian forces, there are JMAX cj coefficients, JMAX sj coefficients and 3 dj coefficients. As JMAX = 12, this sums up to 27 coefficients. The j index is the integer multiplier for the true longitude argument in the cj and sj coefficients and to the degree in the polynomial dj coefficients.
- Specified by:
getCoefficients
in interfaceFieldShortPeriodTerms<T extends CalculusFieldElement<T>>
- Parameters:
date
- current dateselected
- set of coefficients that should be put in the map (empty set means all coefficients are selected)- Returns:
- the selected coefficients of the short periodic variations,
in a map where all keys start with
FieldShortPeriodTerms.getCoefficientsKeyPrefix()
-
-