Class FieldLogarithmicBarrierCartesianFuel<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldLogarithmicBarrierCartesianFuel

        public FieldLogarithmicBarrierCartesianFuel​(String name,
                                                    T massFlowRateFactor,
                                                    T maximumThrustMagnitude,
                                                    T epsilon)
        Constructor.
        Parameters:
        name - adjoint name
        massFlowRateFactor - mass flow rate factor
        maximumThrustMagnitude - maximum thrust magnitude
        epsilon - penalty weight
    • Method Detail

      • getFieldThrustAccelerationVector

        public FieldVector3D<T> getFieldThrustAccelerationVector​(T[] adjointVariables,
                                                                 T mass)
        Computes the thrust acceleration vector in propagation frame from the adjoint variables and the mass.
        Parameters:
        adjointVariables - adjoint vector
        mass - mass
        Returns:
        thrust vector
      • updateFieldAdjointDerivatives

        public void updateFieldAdjointDerivatives​(T[] adjointVariables,
                                                  T mass,
                                                  T[] adjointDerivatives)
        Update the adjoint derivatives if necessary.
        Parameters:
        adjointVariables - adjoint vector
        mass - mass
        adjointDerivatives - derivatives to update
      • toCartesianCost

        public LogarithmicBarrierCartesianFuel toCartesianCost()
        Method returning equivalent in non-Field.
        Returns:
        cost function for non-Field applications