org.opensourcephysics.numerics.dde_solvers.rk.irk
Class Radau5Light

java.lang.Object
  extended by org.opensourcephysics.numerics.dde_solvers.rk.irk.Radau5Light
Direct Known Subclasses:
Radau5Adaptive

public class Radau5Light
extends java.lang.Object

Numerical solution of a stiff system of first order ordinary differential equations. The solver used is an implicit Runge-Kutta method (Radau IIA). Solver holds persistant step size value assigned by an user. Therefore it can be used only as simplest ODE solver in cases when error is of no importance or as base for the solvers with error control.
The code is transferred from the Fortran sources. authors of original Fortran code: E. Hairer and G. Wanner Universite de Geneve, Dept. De Mathematiques ch-1211 Geneve 24, Switzerland e-mail: rnst.hairer@math.unige.ch gerhard.wanner@math.unige.ch
original Fortran code is part of the book: E. Hairer and G. Wanner, Solving ordinary differential equations II. Stiff and differential-algebraic problems. Springer series in computational mathematics 14, Springer-Verlag 1991, second edition 1996.

Author:
Andrei Goussev, Adapted by Francisco Esquembre January 2009, Modified by Francisco Esquembre and Maria Jose Cano March 2011

Nested Class Summary
static class Radau5Light.WrapperDDE
           
 
Constructor Summary
Radau5Light(ODE ode)
           
 
Method Summary
 double[] bestInterpolate(double _time, double[] _state)
           
 long getCounter()
           
 ODE getODE()
           
 StateMemory getStateMemory()
           
 double getStepSize()
           
 void initialize(double _stepSize)
           
 double[] interpolate(double time, boolean useLeftApproximation, double[] state)
           
 void reinitialize(double[] _state)
           
 void setMaximumStepSize(double stepSize)
           
 void setMemoryLength(double length)
           
 void setStepSize(double stepSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Radau5Light

public Radau5Light(ODE ode)
Method Detail

getODE

public final ODE getODE()

getCounter

public final long getCounter()

setStepSize

public final void setStepSize(double stepSize)

setMaximumStepSize

public void setMaximumStepSize(double stepSize)

getStepSize

public final double getStepSize()

initialize

public final void initialize(double _stepSize)

reinitialize

public void reinitialize(double[] _state)

setMemoryLength

public final void setMemoryLength(double length)

getStateMemory

public StateMemory getStateMemory()

interpolate

public double[] interpolate(double time,
                            boolean useLeftApproximation,
                            double[] state)

bestInterpolate

public double[] bestInterpolate(double _time,
                                double[] _state)