Class FieldAbstractCartesianCost<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldAbstractCartesianCost

        protected FieldAbstractCartesianCost​(String name,
                                             T massFlowRateFactor)
        Constructor.
        Parameters:
        name - name
        massFlowRateFactor - mass flow rate factor
    • Method Detail

      • getMassFlowRateFactor

        public T getMassFlowRateFactor()
        Getter for mass flow rate factor. It is negated and multiplied by the thrust force magnitude to obtain the mass time derivative. The fact that it is a constant means that the exhaust speed is assumed to be independent of time.
        Specified by:
        getMassFlowRateFactor in interface FieldCartesianCost<T extends CalculusFieldElement<T>>
        Returns:
        mass flow rate factor
      • getFieldAdjointVelocityNorm

        protected T getFieldAdjointVelocityNorm​(T[] adjointVariables)
        Computes the Euclidean norm of the adjoint velocity vector.
        Parameters:
        adjointVariables - adjoint vector
        Returns:
        norm of adjoint velocity