Class CartesianAdjointDerivativesProvider

    • Constructor Detail

      • CartesianAdjointDerivativesProvider

        public CartesianAdjointDerivativesProvider​(CartesianCost cost,
                                                   CartesianAdjointEquationTerm... adjointEquationTerms)
        Constructor.
        Parameters:
        cost - cost function
        adjointEquationTerms - terms contributing to the adjoint equations. If none, then the propagator should have no forces, not even a Newtonian attraction.
    • Method Detail

      • init

        public void init​(SpacecraftState initialState,
                         AbsoluteDate target)
        Initialize the generator at the start of propagation.
        Specified by:
        init in interface AdditionalDerivativesProvider
        Parameters:
        initialState - initial state information at the start of propagation
        target - date of propagation
      • combinedDerivatives

        public CombinedDerivatives combinedDerivatives​(SpacecraftState state)
        Compute the derivatives related to the additional state (and optionally main state increments).
        Specified by:
        combinedDerivatives in interface AdditionalDerivativesProvider
        Parameters:
        state - current state information: date, kinematics, attitude, and additional states this equations depend on (according to the yields method)
        Returns:
        computed combined derivatives, which may include some incremental coupling effect to add to main state derivatives
      • evaluateHamiltonian

        public double evaluateHamiltonian​(SpacecraftState state)
        Evaluate the Hamiltonian from Pontryagin's Maximum Principle.
        Parameters:
        state - state assumed to hold the adjoint variables
        Returns:
        Hamiltonian