Class NormBasedCartesianConditionChecker
- java.lang.Object
-
- org.orekit.control.indirect.shooting.boundary.NormBasedCartesianConditionChecker
-
- All Implemented Interfaces:
CartesianBoundaryConditionChecker
public class NormBasedCartesianConditionChecker extends Object implements CartesianBoundaryConditionChecker
Class defining convergence criterion on the norm of relative position and velocity vectors, with absolute tolerances.- Since:
- 12.2
- Author:
- Romain Serra
- See Also:
AbstractFixedBoundaryCartesianSingleShooting
-
-
Constructor Summary
Constructors Constructor Description NormBasedCartesianConditionChecker(int maximumIterationCount, double absoluteToleranceDistance, double absoluteToleranceSpeed)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaximumIterationCount()
Returns the maximum number of iterations.boolean
isConverged(PVCoordinates targetPV, PVCoordinates actualPV)
Asserts convergence.
-
-
-
Constructor Detail
-
NormBasedCartesianConditionChecker
public NormBasedCartesianConditionChecker(int maximumIterationCount, double absoluteToleranceDistance, double absoluteToleranceSpeed)
Constructor.- Parameters:
maximumIterationCount
- maximum iteration countabsoluteToleranceDistance
- absolute tolerance on distanceabsoluteToleranceSpeed
- absolute tolerance on speed
-
-
Method Detail
-
getMaximumIterationCount
public int getMaximumIterationCount()
Returns the maximum number of iterations.- Specified by:
getMaximumIterationCount
in interfaceCartesianBoundaryConditionChecker
- Returns:
- maximum iterations
-
isConverged
public boolean isConverged(PVCoordinates targetPV, PVCoordinates actualPV)
Asserts convergence.- Specified by:
isConverged
in interfaceCartesianBoundaryConditionChecker
- Parameters:
targetPV
- target position-velocityactualPV
- actual position-velocity- Returns:
- convergence flag
-
-