|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simulator.math.odes.AbstractDESSolver
org.simulator.math.odes.RungeKutta_EventSolver
public class RungeKutta_EventSolver
Runge-Kutta method.
Field Summary | |
---|---|
protected double[] |
kHelp
Helper variable for the k values. |
protected double[][] |
kVals
Stores temporary results for the fourth-order Runge-Kutta method. |
Fields inherited from class org.simulator.math.odes.AbstractDESSolver |
---|
clonedSolver, PROGRESS |
Fields inherited from interface org.apache.commons.math.ode.events.EventHandler |
---|
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP |
Constructor Summary | |
---|---|
RungeKutta_EventSolver()
default constructor |
|
RungeKutta_EventSolver(double stepSize)
|
|
RungeKutta_EventSolver(double stepSize,
boolean nonnegative)
|
|
RungeKutta_EventSolver(RungeKutta_EventSolver rkEventSolver)
clone constructor |
Method Summary | |
---|---|
RungeKutta_EventSolver |
clone()
|
double[] |
computeChange(DESystem DES,
double[] yTemp,
double t,
double h,
double[] change,
boolean steadyState)
Computes the change for a given system at the current time with the current setting for the integration step size. |
int |
getKiSAOterm()
For details about the Kinetic Simulation Algorithm Ontology (KiSAO) see http://biomodels.net/kisao/. |
String |
getName()
This gives a human-readable name of this solver that can be displayed in a graphical user interface. |
protected boolean |
hasSolverEventProcessing()
|
Methods inherited from class org.simulator.math.odes.AbstractDESSolver |
---|
additionalResults, addPropertyChangeListener, computeDelayedValue, computeSteadyState, eventOccurred, firePropertyChange, g, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setStepSize, setUnstableFlag, solve, solve, solve, solve |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient double[][] kVals
protected transient double[] kHelp
Constructor Detail |
---|
public RungeKutta_EventSolver()
public RungeKutta_EventSolver(double stepSize)
stepSize
- public RungeKutta_EventSolver(double stepSize, boolean nonnegative)
stepSize
- nonnegative
- the nonnegative flag of the super classAbstractDESSolver
public RungeKutta_EventSolver(RungeKutta_EventSolver rkEventSolver)
rkEventSolver
- Method Detail |
---|
public double[] computeChange(DESystem DES, double[] yTemp, double t, double h, double[] change, boolean steadyState) throws DerivativeException
AbstractDESSolver
computeChange
in class AbstractDESSolver
DES
- The system to be simulated.yTemp
- The current state of the system.t
- The current simulation time.h
- The current integration step size.change
- The vector for the resulting change of the system.
DerivativeException
public String getName()
AbstractDESSolver
getName
in class AbstractDESSolver
public RungeKutta_EventSolver clone()
clone
in interface DESSolver
clone
in class AbstractDESSolver
protected boolean hasSolverEventProcessing()
hasSolverEventProcessing
in class AbstractDESSolver
public int getKiSAOterm()
DESSolver
|
Generated at April 19 2013 Version 1.3 Revision 424 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |