jmathlib
Class RK4OdeSolver

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

public abstract class RK4OdeSolver
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
RK4OdeSolver(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

RK4OdeSolver

public RK4OdeSolver(double tstart,
                    double tend,
                    double[] x0,
                    int npts)
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