public abstract class AbstractOdeSolver extends java.lang.Thread implements OdeSolution
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOdeSolver.Interp1D
Interp1D is an inner class used to interpolate to TSPAN points.
|
| Modifier and Type | Field and Description |
|---|---|
protected InterpolationQueue |
interpQ |
protected int |
iter |
protected Ode |
ode |
protected OdeSet |
options |
protected int |
Progress |
protected DefaultReporter |
reporter |
protected AbstractOdeUpdater |
stepintegrator |
protected DblMatrix |
T |
protected DblMatrix |
tnew |
protected DblMatrix |
tnow |
protected DblMatrix |
Y |
protected DblMatrix |
ynew |
protected DblMatrix |
ynow |
| Constructor and Description |
|---|
AbstractOdeSolver()
Sets up the default ODE problem.
|
AbstractOdeSolver(AbstractOdeUpdater stepper)
Constructor that accepts an already constructed step updater.
|
AbstractOdeSolver(Ode problem) |
AbstractOdeSolver(Ode problem,
OdeSet opts) |
| Modifier and Type | Method and Description |
|---|---|
void |
forwardTimePoints()
Sets the TimePoints options of this solver's step integrator
the same as this solver's.
|
DblMatrix |
getDesiredAccuracy(DblMatrix Yold,
DblMatrix Ynow,
DblMatrix dT)
Standard methods for determining a desired accuracy for a solution of a single integration
step.
|
Ode |
getOde() |
OdeSet |
getOptions() |
Reporter |
getReporter() |
int |
getStatus() |
DblMatrix |
getT() |
DblMatrix |
getY() |
boolean |
isRunning() |
void |
run()
Calls the solve method in a separate thread.
|
void |
setOde(Ode problem) |
void |
setOptions(OdeSet opts) |
void |
setReporter(Reporter F) |
abstract void |
solve() |
void |
trimToTimePoints() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected OdeSet options
protected Ode ode
protected int iter
protected DblMatrix tnow
protected DblMatrix ynow
protected DblMatrix tnew
protected DblMatrix ynew
protected int Progress
protected DblMatrix T
protected DblMatrix Y
protected DefaultReporter reporter
protected AbstractOdeUpdater stepintegrator
protected InterpolationQueue interpQ
public AbstractOdeSolver()
public AbstractOdeSolver(Ode problem)
public AbstractOdeSolver(AbstractOdeUpdater stepper)
public DblMatrix getDesiredAccuracy(DblMatrix Yold, DblMatrix Ynow, DblMatrix dT)
public void setReporter(Reporter F)
public Reporter getReporter()
public int getStatus()
public boolean isRunning()
public abstract void solve()
throws SnifflibIntegrationException
solve in interface OdeSolutionSnifflibIntegrationExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void forwardTimePoints()
public void trimToTimePoints()
public DblMatrix getT()
getT in interface OdeSolutionpublic DblMatrix getY()
getY in interface OdeSolutionpublic void setOde(Ode problem)
setOde in interface OdeSolutionpublic Ode getOde()
getOde in interface OdeSolutionpublic void setOptions(OdeSet opts)
setOptions in interface OdeSolutionpublic OdeSet getOptions()
getOptions in interface OdeSolutionCopyright © 2011, 2013. Daniel P. Dougherty