de.grogra.numeric
public class CVodeAdapterOriginal extends java.lang.Object implements Solver
| Constructor and Description |
|---|
CVodeAdapterOriginal() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void integrate(ODE ode, double t0, double[] y0, double t1, double[] y1) throws NumericException
Solverintegrate in interface Solverode - equationst0 - initial timey0 - initial statet1 - final timey1 - memory to return state at t1, may refer to same object as y0NumericExceptionpublic void setMonitor(int n,
Monitor monitor)
throws NumericException
SolversetMonitor in interface SolverNumericExceptionpublic void setOptions(java.util.Map options)
SolversetOptions in interface Solverpublic void setTolerances(double[] absTol,
double[] relTol)
SolversetTolerances in interface SolverabsTol - element-specific absolute tolerance values, or nullrelTol - element-specific relative tolerance values, or null