Class DSSTNewtonianAttraction

    • Field Detail

      • CENTRAL_ATTRACTION_COEFFICIENT

        public static final String CENTRAL_ATTRACTION_COEFFICIENT
        Name of the single parameter of this model: the central attraction coefficient.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DSSTNewtonianAttraction

        public DSSTNewtonianAttraction​(double mu)
        Simple constructor.
        Parameters:
        mu - central attraction coefficient (m^3/s^2)
    • Method Detail

      • getMu

        public double getMu()
        Get the central attraction coefficient μ.
        Returns:
        mu central attraction coefficient (m³/s²)
      • initializeShortPeriodTerms

        public List<ShortPeriodTerms> initializeShortPeriodTerms​(AuxiliaryElements auxiliaryElements,
                                                                 PropagationType type,
                                                                 double[] parameters)
        Performs initialization prior to propagation for the current force model.

        This method aims at being called at the very beginning of a propagation.

        Specified by:
        initializeShortPeriodTerms in interface DSSTForceModel
        Parameters:
        auxiliaryElements - auxiliary elements related to the current orbit
        type - type of the elements used during the propagation
        parameters - values of the force model parameters
        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)
      • initializeShortPeriodTerms

        public <T extends CalculusFieldElement<T>> List<FieldShortPeriodTerms<T>> initializeShortPeriodTerms​(FieldAuxiliaryElements<T> auxiliaryElements,
                                                                                                             PropagationType type,
                                                                                                             T[] parameters)
        Performs initialization prior to propagation for the current force model.

        This method aims at being called at the very beginning of a propagation.

        Specified by:
        initializeShortPeriodTerms in interface DSSTForceModel
        Type Parameters:
        T - type of the elements
        Parameters:
        auxiliaryElements - auxiliary elements related to the current orbit
        type - type of the elements used during the propagation
        parameters - values of the force model parameters
        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)
      • getMeanElementRate

        public double[] getMeanElementRate​(SpacecraftState state,
                                           AuxiliaryElements auxiliaryElements,
                                           double[] parameters)
        Computes the mean equinoctial elements rates dai / dt.
        Specified by:
        getMeanElementRate in interface DSSTForceModel
        Parameters:
        state - current state information: date, kinematics, attitude
        auxiliaryElements - auxiliary elements related to the current orbit
        parameters - values of the force model parameters
        Returns:
        the mean element rates dai/dt
      • getMeanElementRate

        public <T extends CalculusFieldElement<T>> T[] getMeanElementRate​(FieldSpacecraftState<T> state,
                                                                          FieldAuxiliaryElements<T> auxiliaryElements,
                                                                          T[] parameters)
        Computes the mean equinoctial elements rates dai / dt.
        Specified by:
        getMeanElementRate in interface DSSTForceModel
        Type Parameters:
        T - type of the elements
        Parameters:
        state - current state information: date, kinematics, attitude
        auxiliaryElements - auxiliary elements related to the current orbit
        parameters - values of the force model parameters
        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
      • getFieldEventsDetectors

        public <T extends CalculusFieldElement<T>> FieldEventDetector<T>[] getFieldEventsDetectors​(Field<T> field)
        Get the discrete events related to the model.
        Specified by:
        getFieldEventsDetectors in interface DSSTForceModel
        Type Parameters:
        T - type of the elements
        Parameters:
        field - field used by default
        Returns:
        array of events detectors or null if the model is not related to any discrete events