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 severalOrekitStepHandlerinstances 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 voidadd(FieldOrekitStepHandler<T> handler)Add a step handler.voidhandleStep(FieldOrekitStepInterpolator<T> interpolator, boolean isLast)Handle the current step.voidinit(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:
initin 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:
handleStepin interfaceFieldOrekitStepHandler<T extends org.hipparchus.RealFieldElement<T>>- Parameters:
interpolator- interpolator set up for the current stepisLast- if true, this is the last integration step
-
-