public class EulerRichardson extends AbstractODESolver
numEqn, ode, stepSize| Constructor and Description |
|---|
EulerRichardson(ODE ode)
Constructs the EulerRichardson ODESolver for a system of ordinary differential equations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(double stepSize)
Initializes the ODE solver.
|
double |
step()
Steps (advances) the differential equations by the stepSize.
|
getStepSize, setStepSizepublic EulerRichardson(ODE ode)
ode - the system of differential equations.public void initialize(double stepSize)
initialize in interface ODESolverinitialize in class AbstractODESolverstepSize - public double step()
step in interface ODESolverstep in class AbstractODESolver