org.simulator.math.odes
Class DormandPrince54Solver
java.lang.Object
org.simulator.math.odes.AbstractDESSolver
org.simulator.math.odes.AdaptiveStepsizeIntegrator
org.simulator.math.odes.FirstOrderSolver
org.simulator.math.odes.DormandPrince54Solver
- All Implemented Interfaces:
- java.io.Serializable, org.apache.commons.math.ode.events.EventHandler, DelayValueHolder, DESSolver
public class DormandPrince54Solver
- extends FirstOrderSolver
This class is a wrapper for the Dormand-Prince-54 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 |
Method Summary |
DormandPrince54Solver |
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.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 |
DormandPrince54Solver
public DormandPrince54Solver()
- default constructor
DormandPrince54Solver
public DormandPrince54Solver(DormandPrince54Solver princeSolver)
- clone constructor
- Parameters:
dormandPrinceSolver
-
DormandPrince54Solver
public DormandPrince54Solver(double stepSize)
- Parameters:
stepSize
-
DormandPrince54Solver
public DormandPrince54Solver(double stepSize,
boolean nonnegative)
- Parameters:
stepSize
- the
- nonnegative flag of the super class @see org.sbml.simulator.math.odes.AbstractDESSolver
clone
public DormandPrince54Solver 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.