Class FieldAbstractCartesianCost.FieldSwitchFunction

java.lang.Object
org.orekit.control.indirect.adjoint.cost.FieldAbstractCartesianCost.FieldSwitchFunction
All Implemented Interfaces:
EventFunction, EventFunctionModifier
Enclosing class:
FieldAbstractCartesianCost<T extends CalculusFieldElement<T>>

public class FieldAbstractCartesianCost.FieldSwitchFunction extends Object implements EventFunctionModifier
Class for control switch function involving Field.
  • Constructor Details

    • FieldSwitchFunction

      protected FieldSwitchFunction(Function<FieldSpacecraftState<T>,T> fieldFunction)
      Constructor.
      Parameters:
      fieldFunction - function computing the switching condition from the state
  • Method Details

    • getBaseFunction

      public EventFunction getBaseFunction()
      Description copied from interface: EventFunctionModifier
      Get the base event function.
      Specified by:
      getBaseFunction in interface EventFunctionModifier
      Returns:
      base event function
    • dependsOnMainVariablesOnly

      public boolean dependsOnMainVariablesOnly()
      Description copied from interface: EventFunction
      Method returning true if and only if the event function does not depend on dependent variables, other than the Cartesian coordinates (or equivalent), mass and attitude (excepts for its rates). It should thus return false if the STM is needed to evaluate the event. This information is used for performance in propagation.
      Specified by:
      dependsOnMainVariablesOnly in interface EventFunction
      Specified by:
      dependsOnMainVariablesOnly in interface EventFunctionModifier
      Returns:
      flag