|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ODEAdaptiveSolver
ODEAdaptiveSolver extends the ODE solver to add adaptive step size capabilities. Adaptive ODE solvers adjust the step size until that the desired tolerance is reached. The client's state can effect the internal state of the ODE solver. Some adaptive solvers advance an internal copy of client's state. This internal state is then copied to the client after every step. Other solvers estimate the optimal time step using the client's state. Clients should therfore always invoke the solver's initialize method after setting their initial conditions.
Method Summary | |
---|---|
double |
getTolerance()
Gets the tolerance of the adaptive ODE sovler. |
void |
setTolerance(double tol)
Sets the tolerance of the adaptive ODE sovler. |
Methods inherited from interface math.numerics.ODESolver |
---|
getStepSize, initialize, setStepSize, step |
Method Detail |
---|
void setTolerance(double tol)
tol
- the tolerancedouble getTolerance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |