Class FieldDSSTJ2SquaredClosedFormContext<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements

    public class FieldDSSTJ2SquaredClosedFormContext<T extends CalculusFieldElement<T>>
    extends FieldForceModelContext<T>
    This class is a container for the common parameters used in DSSTJ2SquaredClosedForm.

    It performs parameters initialization at each integration step for the second-order J2-squared contribution to the central body gravitational perturbation.

    Since:
    12.0
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • FieldDSSTJ2SquaredClosedFormContext

        public FieldDSSTJ2SquaredClosedFormContext​(FieldAuxiliaryElements<T> auxiliaryElements,
                                                   UnnormalizedSphericalHarmonicsProvider provider)
        Simple constructor.
        Parameters:
        auxiliaryElements - auxiliary elements related to the current orbit
        provider - provider for spherical harmonics
    • Method Detail

      • getAlpha4

        public double getAlpha4()
        Get the equatorial radius of the central body to the power 4.
        Returns:
        the equatorial radius of the central body to the power 4
      • getA4

        public T getA4()
        Get the semi major axis to the power 4.
        Returns:
        the semi major axis to the power 4
      • getEta

        public T getEta()
        Get the eta value.
        Returns:
        sqrt(1 - e * e)
      • getC

        public T getC()
        Get the cosine of the inclination.
        Returns:
        the cosine of the inclination
      • getS2

        public T getS2()
        Get the sine of the inclination to the power 2.
        Returns:
        the sine of the inclination to the power 2