Class ControlSwitchDetector
- java.lang.Object
-
- org.orekit.control.indirect.adjoint.cost.ControlSwitchDetector
-
- All Implemented Interfaces:
EventDetector
public abstract class ControlSwitchDetector extends Object implements EventDetector
Abstract event detector for singularities in adjoint dynamics.- Since:
- 13.0
- Author:
- Romain Serra
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedControlSwitchDetector(EventDetectionSettings detectionSettings)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandependsOnMainVariablesOnly()Method returning true if and only if the detection function g does not depend on dependent variables, other than the Cartesian coordinates (or equivalent), mass and attitude (excepts for its rates).EventDetectionSettingsgetDetectionSettings()Getter for the settings.EventHandlergetHandler()Get the handler.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.EventDetector
dependsOnTimeOnly, finish, g, getMaxCheckInterval, getMaxIterationCount, getThreshold, init, reset
-
-
-
-
Constructor Detail
-
ControlSwitchDetector
protected ControlSwitchDetector(EventDetectionSettings detectionSettings)
Constructor.- Parameters:
detectionSettings- detection settings
-
-
Method Detail
-
dependsOnMainVariablesOnly
public boolean dependsOnMainVariablesOnly()
Description copied from interface:EventDetectorMethod returning true if and only if the detection function g 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 interfaceEventDetector- Returns:
- flag
-
getDetectionSettings
public EventDetectionSettings getDetectionSettings()
Description copied from interface:EventDetectorGetter for the settings.- Specified by:
getDetectionSettingsin interfaceEventDetector- Returns:
- detection settings
-
getHandler
public EventHandler getHandler()
Description copied from interface:EventDetectorGet the handler.- Specified by:
getHandlerin interfaceEventDetector- Returns:
- event handler to call at event occurrences
-
-