|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.numerics.AbstractODESolver
public abstract class AbstractODESolver
AbstractODE provides a common superclass for ODESolvers.
Constructor Summary | |
---|---|
AbstractODESolver(ODE _ode)
Constructs the ODESolver for a system of ordinary differential equations. |
Method Summary | |
---|---|
double |
getStepSize()
Gets the step size. |
void |
initialize(double _stepSize)
Initializes the ODE solver. |
void |
setStepSize(double _stepSize)
Sets the step size. |
abstract double |
step()
Steps (advances) the differential equations by the stepSize. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractODESolver(ODE _ode)
_ode
- the system of differential equations.Method Detail |
---|
public abstract double step()
step
in interface ODESolver
public void setStepSize(double _stepSize)
setStepSize
in interface ODESolver
_stepSize
- public void initialize(double _stepSize)
initialize
in interface ODESolver
_stepSize
- public double getStepSize()
getStepSize
in interface ODESolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |