Class OrekitStepHandlerMultiplexer

    • Constructor Detail

      • OrekitStepHandlerMultiplexer

        public OrekitStepHandlerMultiplexer()
        Simple constructor.
    • Method Detail

      • add

        public void add​(OrekitStepHandler handler)
        Add a step handler.
        Parameters:
        handler - step handler to add
      • init

        public void init​(SpacecraftState s0,
                         AbsoluteDate 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.

        The default method does nothing

        Specified by:
        init in interface OrekitStepHandler
        Parameters:
        s0 - initial state
        t - target time for the integration
      • handleStep

        public void handleStep​(OrekitStepInterpolator interpolator,
                               boolean isLast)
        Handle the current step.
        Specified by:
        handleStep in interface OrekitStepHandler
        Parameters:
        interpolator - interpolator set up for the current step
        isLast - if true, this is the last integration step