Interface FieldEventState<T extends CalculusFieldElement<T>>

    • Method Detail

      • init

        void init​(FieldODEStateAndDerivative<T> s0,
                  T t)
        Initialize handler at the start of an integration.

        This method is called once at the start of the integration. It may be used by the event handler to initialize some internal data if needed.

        Parameters:
        s0 - initial state
        t - target time for the integration
      • getEventTime

        T getEventTime()
        Get the occurrence time of the event triggered in the current step.
        Returns:
        occurrence time of the event triggered in the current step or infinity if no events are triggered