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 Summary
ConstructorsModifierConstructorDescriptionprotectedFieldSwitchFunction(Function<FieldSpacecraftState<T>, T> fieldFunction) -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod 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).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.functions.EventFunctionModifier
dependsOnTimeOnly, value, value
-
Constructor Details
-
FieldSwitchFunction
-
-
Method Details
-
getBaseFunction
- Specified by:
getBaseFunctionin interfaceEventFunctionModifier
-
dependsOnMainVariablesOnly
public boolean dependsOnMainVariablesOnly()Description copied from interface:EventFunctionMethod 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:
dependsOnMainVariablesOnlyin interfaceEventFunction- Specified by:
dependsOnMainVariablesOnlyin interfaceEventFunctionModifier- Returns:
- flag
-