org.simulator.math.odes
Class GraggBulirschStoerSolver
java.lang.Object
org.simulator.math.odes.AbstractDESSolver
org.simulator.math.odes.AdaptiveStepsizeIntegrator
org.simulator.math.odes.FirstOrderSolver
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
Fields inherited from interface org.apache.commons.math.ode.events.EventHandler |
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP |
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 |
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
-
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.