Class AbstractGaussianContribution.FieldGaussianShortPeriodicCoefficients<T extends CalculusFieldElement<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 Detail

      • value

        public T[] value​(FieldOrbit<T> meanOrbit)
        Evaluate the contributions of the short period terms.
        Specified by:
        value in interface FieldShortPeriodTerms<T extends CalculusFieldElement<T>>
        Parameters:
        meanOrbit - mean orbit to which the short period contribution applies
        Returns:
        short period terms contributions
      • 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 interface FieldShortPeriodTerms<T extends CalculusFieldElement<T>>
        Parameters:
        date - current date
        selected - 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()