Class DSSTThirdBody

    • Constructor Detail

    • Method Detail

      • getBody

        public CelestialBody getBody()
        Get third body.
        Returns:
        third body
      • initialize

        public List<ShortPeriodTerms> initialize​(AuxiliaryElements aux,
                                                 boolean meanOnly)
        Computes the highest power of the eccentricity and the highest power of a/R3 to appear in the truncated analytical power series expansion.

        This method computes the upper value for the 3rd body potential and determines the maximal powers for the eccentricity and a/R3 producing potential terms bigger than a defined tolerance.

        Specified by:
        initialize in interface DSSTForceModel
        Parameters:
        aux - auxiliary elements related to the current orbit
        meanOnly - only mean elements will be used for the propagation
        Returns:
        a list of objects that will hold short period terms (the objects are also retained by the force model, which will update them during propagation)
      • initializeStep

        public void initializeStep​(AuxiliaryElements aux)
        Performs initialization at each integration step for the current force model.

        This method aims at being called before mean elements rates computation.

        Specified by:
        initializeStep in interface DSSTForceModel
        Parameters:
        aux - auxiliary elements related to the current orbit
      • getMeanElementRate

        public double[] getMeanElementRate​(SpacecraftState currentState)
        Computes the mean equinoctial elements rates dai / dt.
        Specified by:
        getMeanElementRate in interface DSSTForceModel
        Parameters:
        currentState - current state information: date, kinematics, attitude
        Returns:
        the mean element rates dai/dt
      • getEventsDetectors

        public EventDetector[] getEventsDetectors()
        Get the discrete events related to the model.
        Specified by:
        getEventsDetectors in interface DSSTForceModel
        Returns:
        array of events detectors or null if the model is not related to any discrete events