public class OdeSolver extends java.lang.Object implements OdeSolution
| Modifier and Type | Field and Description |
|---|---|
static int |
IDLE |
static int |
NONSTIFF_SOLVER |
protected AbstractOdeSolver |
realalgorithm |
static int |
RUNNING |
static int |
STIFF_SOLVER |
| Constructor and Description |
|---|
OdeSolver(AbstractOdeSolver alg)
Constructs an ODE solution using the provided algorithm.
|
OdeSolver(Ode problem) |
OdeSolver(Ode problem,
OdeSet opts)
Constructs an ODE solution using a solver known to perform well for
a certain class of problems.
|
| Modifier and Type | Method and Description |
|---|---|
Ode |
getOde() |
OdeSet |
getOptions() |
Reporter |
getReporter() |
int |
getStatus() |
DblMatrix |
getT() |
DblMatrix |
getY() |
boolean |
isRunning() |
void |
setOde(Ode problem) |
void |
setOptions(OdeSet opts) |
void |
setReporter(Reporter r) |
void |
solve() |
void |
start() |
public static final int NONSTIFF_SOLVER
public static final int STIFF_SOLVER
public static final int IDLE
public static final int RUNNING
protected AbstractOdeSolver realalgorithm
public OdeSolver(Ode problem)
public OdeSolver(Ode problem, OdeSet opts)
public OdeSolver(AbstractOdeSolver alg)
public boolean isRunning()
public int getStatus()
public void start()
public void solve()
throws SnifflibIntegrationException
solve in interface OdeSolutionSnifflibIntegrationExceptionpublic DblMatrix getT()
getT in interface OdeSolutionpublic DblMatrix getY()
getY in interface OdeSolutionpublic void setOptions(OdeSet opts)
setOptions in interface OdeSolutionpublic OdeSet getOptions()
getOptions in interface OdeSolutionpublic void setOde(Ode problem)
setOde in interface OdeSolutionpublic Ode getOde()
getOde in interface OdeSolutionpublic Reporter getReporter()
public void setReporter(Reporter r)
Copyright © 2011, 2013. Daniel P. Dougherty