public class Ralston2 extends AbstractODESolver
numEqn, ode, stepSize| Modifier and Type | Method and Description |
|---|---|
void |
initialize(double stepSize)
Initializes the ODE solver and allocates the rate and state arrays.
|
double |
step()
Steps (advances) the differential equations by the stepSize.
|
getStepSize, setStepSizepublic Ralston2(ODE ode)
public void initialize(double stepSize)
initialize in interface ODESolverinitialize in class AbstractODESolverstepSize - public double step()
step in interface ODESolverstep in class AbstractODESolver