org.simulator.math.odes
Class GraggBulirschStoerSolver

java.lang.Object
  extended by org.simulator.math.odes.AbstractDESSolver
      extended by org.simulator.math.odes.AdaptiveStepsizeIntegrator
          extended by org.simulator.math.odes.FirstOrderSolver
              extended by org.simulator.math.odes.GraggBulirschStoerSolver
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.math.ode.events.EventHandler, DelayValueHolder, DESSolver

public class GraggBulirschStoerSolver
extends FirstOrderSolver

This class is a wrapper for the Gragg-Bulirsch-Stoer solver in the Apache Math Library.

Since:
0.9
Version:
$Rev: 146 $
Author:
Roland Keller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.simulator.math.odes.FirstOrderSolver
integrator
 
Fields inherited from class org.simulator.math.odes.AdaptiveStepsizeIntegrator
absTol, relTol
 
Fields inherited from class org.simulator.math.odes.AbstractDESSolver
listenerList
 
Fields inherited from interface org.apache.commons.math.ode.events.EventHandler
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP
 
Constructor Summary
GraggBulirschStoerSolver()
          default constructor
GraggBulirschStoerSolver(double stepSize)
           
GraggBulirschStoerSolver(double stepSize, boolean nonnegative)
           
GraggBulirschStoerSolver(GraggBulirschStoerSolver solver)
          clone constructor
 
Method Summary
 GraggBulirschStoerSolver clone()
           
protected  void createIntegrator()
          initialization function of the integrator
 java.lang.String getName()
          This gives a human-readable name of this solver that can be displayed in a graphical user interface.
 
Methods inherited from class org.simulator.math.odes.FirstOrderSolver
computeChange, getIntegrator, hasSolverEventProcessing, setStepSize
 
Methods inherited from class org.simulator.math.odes.AdaptiveStepsizeIntegrator
getAbsTol, getRelTol, setAbsTol, setRelTol
 
Methods inherited from class org.simulator.math.odes.AbstractDESSolver
additionalResults, addPropertyChangeListener, checkSolution, checkSolution, computeDelayedValue, computeNextState, eventOccurred, firePropertyChange, g, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, numSteps, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setUnstableFlag, solve, solve, solve, solve
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraggBulirschStoerSolver

public GraggBulirschStoerSolver()
default constructor


GraggBulirschStoerSolver

public GraggBulirschStoerSolver(double stepSize)
Parameters:
stepSize -

GraggBulirschStoerSolver

public GraggBulirschStoerSolver(double stepSize,
                                boolean nonnegative)
Parameters:
stepSize -
the - nonnegative flag of the super class @see org.sbml.simulator.math.odes.AbstractDESSolver

GraggBulirschStoerSolver

public GraggBulirschStoerSolver(GraggBulirschStoerSolver solver)
clone constructor

Parameters:
graggBulirschStoerSolver -
Method Detail

clone

public GraggBulirschStoerSolver clone()
Specified by:
clone in interface DESSolver
Specified by:
clone in class FirstOrderSolver
Returns:
the cloned solver

createIntegrator

protected void createIntegrator()
Description copied from class: FirstOrderSolver
initialization function of the integrator

Specified by:
createIntegrator in class FirstOrderSolver

getName

public java.lang.String getName()
Description copied from class: AbstractDESSolver
This gives a human-readable name of this solver that can be displayed in a graphical user interface.

Specified by:
getName in class AbstractDESSolver
Returns:
A name that describes the underlying algorithm.