Package org.orekit.propagation.sampling
Class FieldOrekitStepHandlerMultiplexer<T extends org.hipparchus.RealFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.sampling.FieldOrekitStepHandlerMultiplexer<T>
-
- All Implemented Interfaces:
FieldOrekitStepHandler<T>
public class FieldOrekitStepHandlerMultiplexer<T extends org.hipparchus.RealFieldElement<T>> extends Object implements FieldOrekitStepHandler<T>
This class gathers severalOrekitStepHandler
instances into one.- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description FieldOrekitStepHandlerMultiplexer()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(FieldOrekitStepHandler<T> handler)
Add a step handler.void
handleStep(FieldOrekitStepInterpolator<T> interpolator, boolean isLast)
Handle the current step.void
init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t)
Initialize step handler at the start of a propagation.
-
-
-
Method Detail
-
add
public void add(FieldOrekitStepHandler<T> handler)
Add a step handler.- Parameters:
handler
- step handler to add
-
init
public void init(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t)
Initialize step handler at the start of a propagation.This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
- Specified by:
init
in interfaceFieldOrekitStepHandler<T extends org.hipparchus.RealFieldElement<T>>
- Parameters:
s0
- initial statet
- target time for the integration
-
handleStep
public void handleStep(FieldOrekitStepInterpolator<T> interpolator, boolean isLast)
Handle the current step.- Specified by:
handleStep
in interfaceFieldOrekitStepHandler<T extends org.hipparchus.RealFieldElement<T>>
- Parameters:
interpolator
- interpolator set up for the current stepisLast
- if true, this is the last integration step
-
-