Package org.orekit.propagation.events
Class FieldLatitudeExtremumDetector<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.propagation.events.FieldAbstractDetector<FieldLatitudeExtremumDetector<T>,T>
org.orekit.propagation.events.FieldAbstractGeographicalDetector<FieldLatitudeExtremumDetector<T>,T>
org.orekit.propagation.events.FieldLatitudeExtremumDetector<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldEventDetector<T>
public class FieldLatitudeExtremumDetector<T extends CalculusFieldElement<T>>
extends FieldAbstractGeographicalDetector<FieldLatitudeExtremumDetector<T>,T>
Detector for latitude extrema.
- Since:
- 14.0
- Author:
- Romain Serra
- See Also:
-
Field Summary
Fields inherited from class org.orekit.propagation.events.FieldAbstractDetector
DEFAULT_MAX_CHECK, DEFAULT_MAX_ITER, DEFAULT_THRESHOLD -
Constructor Summary
ConstructorsConstructorDescriptionFieldLatitudeExtremumDetector(Field<T> field, BodyShape body) Build a new detector.FieldLatitudeExtremumDetector(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, BodyShape body) Constructor with body shape.FieldLatitudeExtremumDetector(LatitudeExtremumEventFunction latitudeExtremumEventFunction, FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler) Constructor with full parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldLatitudeExtremumDetector<T> create(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> newHandler) Build a new instance.g(FieldSpacecraftState<T> s) Compute the value of the switching function.toEventDetector(EventHandler eventHandler) Build non-Field instance.Methods inherited from class org.orekit.propagation.events.FieldAbstractGeographicalDetector
getBodyShapeMethods inherited from class org.orekit.propagation.events.FieldAbstractDetector
checkIfForward, getDetectionSettings, getEventFunction, getHandler, init, isForward, withDetectionSettings, withHandler, withMaxCheck, withMaxCheck, withMaxIter, withThresholdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.FieldEventDetector
finish, getMaxCheckInterval, getMaxIterationCount, getThreshold, reset
-
Constructor Details
-
FieldLatitudeExtremumDetector
Build a new detector.The new instance uses default values for maximal checking interval (
FieldAbstractDetector.DEFAULT_MAX_CHECK) and convergence threshold (FieldAbstractDetector.DEFAULT_THRESHOLD).- Parameters:
field- the type of numbers to use.body- body on which the latitude is defined
-
FieldLatitudeExtremumDetector
public FieldLatitudeExtremumDetector(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, BodyShape body) Constructor with body shape.- Parameters:
detectionSettings- event detection settingshandler- event handler to call at event occurrencesbody- body on which the latitude is defined- Since:
- 13.0
-
FieldLatitudeExtremumDetector
public FieldLatitudeExtremumDetector(LatitudeExtremumEventFunction latitudeExtremumEventFunction, FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler) Constructor with full parameters.- Parameters:
latitudeExtremumEventFunction- event functiondetectionSettings- event detection settingshandler- event handler to call at event occurrences- Since:
- 14.0
-
-
Method Details
-
create
protected FieldLatitudeExtremumDetector<T> create(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> newHandler) Build a new instance.- Specified by:
createin classFieldAbstractDetector<FieldLatitudeExtremumDetector<T extends CalculusFieldElement<T>>,T extends CalculusFieldElement<T>> - Parameters:
detectionSettings- detection settingsnewHandler- event handler to call at event occurrences- Returns:
- a new instance of the appropriate sub-type
-
g
Compute the value of the switching function. This function must be continuous (at least in its roots neighborhood), as the integrator will need to find its roots to locate the events.- Parameters:
s- the current state information: date, kinematics, attitude- Returns:
- value of the switching function
-
toEventDetector
Build non-Field instance.- Overrides:
toEventDetectorin classFieldAbstractDetector<FieldLatitudeExtremumDetector<T extends CalculusFieldElement<T>>,T extends CalculusFieldElement<T>> - Parameters:
eventHandler- event handler- Returns:
- event detector
-