org.hipparchus.migration.ode.sampling

## Interface FixedStepHandler

• ### Method Summary

All Methods
Modifier and Type Method and Description
void handleStep(double t, double[] y, double[] yDot, boolean isLast)
Deprecated.
Handle the last accepted step
default void handleStep(ODEStateAndDerivative state, boolean isLast)
Deprecated.
Handle the last accepted step
void init(double t0, double[] y0, double t)
Deprecated.
Initialize step handler at the start of an ODE integration.
default void init(ODEStateAndDerivative initialState, double finalTime)
Deprecated.
Initialize step handler at the start of an ODE integration.
• ### Method Detail

• #### init

default void init(ODEStateAndDerivative initialState,
double finalTime)
Deprecated.
Initialize step handler at the start of an ODE integration.

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

The default implementation does nothing.

}
Specified by:
init in interface ODEFixedStepHandler
Parameters:
initialState - initial time, state vector and derivative
finalTime - target time for the integration
• #### handleStep

default void handleStep(ODEStateAndDerivative state,
boolean isLast)
Deprecated.
Handle the last accepted step}
Specified by:
handleStep in interface ODEFixedStepHandler
Parameters:
state - current state
isLast - true if the step is the last one
• #### init

void init(double t0,
double[] y0,
double t)
Deprecated.
Initialize step handler at the start of an ODE integration.

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

Parameters:
t0 - start value of the independent time variable
y0 - array containing the start value of the state vector
t - target time for the integration
• #### handleStep

void handleStep(double t,
double[] y,
double[] yDot,
boolean isLast)
Deprecated.
Handle the last accepted step
Parameters:
t - time of the current step
y - state vector at t. For efficiency purposes, the StepNormalizer class reuses the same array on each call, so if the instance wants to keep it across all calls (for example to provide at the end of the integration a complete array of all steps), it should build a local copy store this copy.
yDot - derivatives of the state vector state vector at t. For efficiency purposes, the StepNormalizer class reuses the same array on each call, so if the instance wants to keep it across all calls (for example to provide at the end of the integration a complete array of all steps), it should build a local copy store this copy.
isLast - true if the step is the last one