|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Solver
A solver is an implementation of a numerical process to solve an ordinary differential equation.
Method Summary | |
---|---|
void |
integrate(ODE ode,
double t0,
double[] y0,
double t1,
double[] y1)
Integrate ode from t0 to t1. |
void |
setMonitor(int n,
Monitor monitor)
Set monitor functions. |
void |
setOptions(java.util.Map options)
Set additional options for the integration process. |
void |
setTolerances(double[] absTol,
double[] relTol)
Set element-specific absolute and relative tolerance values. |
Method Detail |
---|
void integrate(ODE ode, double t0, double[] y0, double t1, double[] y1) throws NumericException
ode
- equationst0
- initial timey0
- initial statet1
- final timey1
- memory to return state at t1, may refer to same object as y0
NumericException
void setMonitor(int n, Monitor monitor) throws NumericException
n
- monitor
-
NumericException
void setOptions(java.util.Map options)
options
- void setTolerances(double[] absTol, double[] relTol)
absTol
- element-specific absolute tolerance values, or nullrelTol
- element-specific relative tolerance values, or null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |