jmathlib
Class EulerOdeSolver

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--jmathlib.AbstractOdeSolver
              |
              +--jmathlib.EulerOdeSolver
All Implemented Interfaces:
java.lang.Runnable

public abstract class EulerOdeSolver
extends AbstractOdeSolver

An implementation of the simple Euler ode solver algorithm


Fields inherited from class jmathlib.AbstractOdeSolver
currentTime, killed, listenerList, npts, results, sleepTime, tend, tstart, x0
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EulerOdeSolver(double tstart, double tend, double[] x0, int npts)
           
 
Method Summary
 void computeSolution()
          Implementation of the ODE solver algorithm
 java.lang.String getDescription()
           
 
Methods inherited from class jmathlib.AbstractOdeSolver
addSignalListener, fireSignal, function, getCurrentTime, getResults, kill, removeSignalListener, run, setSleepingTime
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EulerOdeSolver

public EulerOdeSolver(double tstart,
                      double tend,
                      double[] x0,
                      int npts)
Parameters:
tstart - The ODE's solution start time
tend - The ODE's solution end time
x0 - The initial condition X(0)[]
npts - The number of points to be computed
Method Detail

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class AbstractOdeSolver
Returns:
A brief description of the algorithm used by this ODE solver

computeSolution

public void computeSolution()
Implementation of the ODE solver algorithm
Overrides:
computeSolution in class AbstractOdeSolver


jmathlib/ABMOdeSolver.java