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 OdeSolution
SnifflibIntegrationException
public DblMatrix getT()
getT
in interface OdeSolution
public DblMatrix getY()
getY
in interface OdeSolution
public void setOptions(OdeSet opts)
setOptions
in interface OdeSolution
public OdeSet getOptions()
getOptions
in interface OdeSolution
public void setOde(Ode problem)
setOde
in interface OdeSolution
public Ode getOde()
getOde
in interface OdeSolution
public Reporter getReporter()
public void setReporter(Reporter r)
Copyright © 2011, 2013. Daniel P. Dougherty