numericalMethods.calculus.odeSolving
Class BulirschStoer

java.lang.Object
  |
  +--numericalMethods.calculus.odeSolving.BulirschStoer
All Implemented Interfaces:
java.lang.Cloneable, OdeSolver, java.io.Serializable

public class BulirschStoer
extends java.lang.Object
implements OdeSolver, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Inner Class Summary
static class BulirschStoer.TempDataContainer
           
 
Field Summary
(package private)  double eps
           
(package private) static double EPS
           
(package private) static double ERRCON
           
(package private) static int IMAXX
           
(package private) static int KMAXX
           
(package private) static int MAX_NUM_OF_STEPS
           
(package private) static int[] nseq
           
(package private)  int numOfEquations
           
(package private) static double PGROW
           
protected  java.beans.PropertyChangeSupport propertyChangeSupport
           
(package private) static double PSHRNK
           
(package private) static double REDMAX
           
(package private) static double REDMIN
           
(package private) static double SAFE1
           
(package private) static double SAFE2
           
(package private) static double SAFETY
           
(package private) static double SCALMX
           
(package private)  double stepSize
           
(package private) static double TINY
           
 
Constructor Summary
BulirschStoer()
           
BulirschStoer(int numOfEquations)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void firePropertyChange(java.lang.String propertyName)
           
 void firePropertyChange(java.lang.String propertyName, java.lang.Object newValue, java.lang.Object oldValue)
           
 double getEps()
           
 int getNumOfEquations()
           
 double getStepSize()
           
(package private) static void midPointStep(numericalMethods.function.DoubleArrayParametrized p, numericalMethods.function.DoubleArrayValued f, double[] y, double[] yPrime, double totalH, int nstep, double[] yout, double[] ym, double[] yn)
           
 void odex(numericalMethods.function.DoubleArrayParametrized p, numericalMethods.function.DoubleArrayValued f, double[] y, double xEnd)
           
(package private) static void odex(numericalMethods.function.DoubleArrayParametrized p, numericalMethods.function.DoubleArrayValued f, double[] y, double xEnd, double[] h, double minH, int[] stepInfo, numericalMethods.function.DoubleArrayParametrized intermediate, BulirschStoer.TempDataContainer tdc)
           
(package private) static void odex(numericalMethods.function.DoubleArrayParametrized p, numericalMethods.function.DoubleArrayValued f, double[] y, double xEnd, double eps, double[] h, double minH, int[] stepInfo, numericalMethods.function.DoubleArrayParametrized intermediate)
           
(package private) static void polynomialExtrapolation(int iest, double xest, double[] yest, double[] yz, double[] dy, double[] y_, double[] x, double[][] d)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setEps(double eps)
           
 void setNumOfEquations(int numOfEquations)
           
 void setStepSize(double stepSize)
           
(package private) static void step(numericalMethods.function.DoubleArrayParametrized p, numericalMethods.function.DoubleArrayValued f, double[] y, double[] yPrime, double[] h, double[] yScale, double[] performedH, BulirschStoer.TempDataContainer tdc)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numOfEquations

int numOfEquations

eps

double eps

stepSize

double stepSize

propertyChangeSupport

protected java.beans.PropertyChangeSupport propertyChangeSupport

SAFETY

static final double SAFETY

PGROW

static final double PGROW

PSHRNK

static final double PSHRNK

ERRCON

static final double ERRCON

KMAXX

static final int KMAXX

IMAXX

static final int IMAXX

SAFE1

static final double SAFE1

SAFE2

static final double SAFE2

REDMAX

static final double REDMAX

REDMIN

static final double REDMIN

TINY

static final double TINY

SCALMX

static final double SCALMX

nseq

static int[] nseq

MAX_NUM_OF_STEPS

static final int MAX_NUM_OF_STEPS

EPS

static final double EPS
Constructor Detail

BulirschStoer

public BulirschStoer(int numOfEquations)

BulirschStoer

public BulirschStoer()
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

firePropertyChange

public void firePropertyChange(java.lang.String propertyName)

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               java.lang.Object newValue,
                               java.lang.Object oldValue)

getStepSize

public double getStepSize()

setStepSize

public void setStepSize(double stepSize)

getEps

public double getEps()

setEps

public void setEps(double eps)

getNumOfEquations

public int getNumOfEquations()
Specified by:
getNumOfEquations in interface OdeSolver

setNumOfEquations

public void setNumOfEquations(int numOfEquations)
Specified by:
setNumOfEquations in interface OdeSolver

odex

public void odex(numericalMethods.function.DoubleArrayParametrized p,
                 numericalMethods.function.DoubleArrayValued f,
                 double[] y,
                 double xEnd)
Specified by:
odex in interface OdeSolver

step

static void step(numericalMethods.function.DoubleArrayParametrized p,
                 numericalMethods.function.DoubleArrayValued f,
                 double[] y,
                 double[] yPrime,
                 double[] h,
                 double[] yScale,
                 double[] performedH,
                 BulirschStoer.TempDataContainer tdc)

polynomialExtrapolation

static void polynomialExtrapolation(int iest,
                                    double xest,
                                    double[] yest,
                                    double[] yz,
                                    double[] dy,
                                    double[] y_,
                                    double[] x,
                                    double[][] d)

midPointStep

static void midPointStep(numericalMethods.function.DoubleArrayParametrized p,
                         numericalMethods.function.DoubleArrayValued f,
                         double[] y,
                         double[] yPrime,
                         double totalH,
                         int nstep,
                         double[] yout,
                         double[] ym,
                         double[] yn)

odex

static void odex(numericalMethods.function.DoubleArrayParametrized p,
                 numericalMethods.function.DoubleArrayValued f,
                 double[] y,
                 double xEnd,
                 double eps,
                 double[] h,
                 double minH,
                 int[] stepInfo,
                 numericalMethods.function.DoubleArrayParametrized intermediate)

odex

static void odex(numericalMethods.function.DoubleArrayParametrized p,
                 numericalMethods.function.DoubleArrayValued f,
                 double[] y,
                 double xEnd,
                 double[] h,
                 double minH,
                 int[] stepInfo,
                 numericalMethods.function.DoubleArrayParametrized intermediate,
                 BulirschStoer.TempDataContainer tdc)