Serializable
, Cloneable
, DelayValueHolder
, DESSolver
public class RungeKutta_EventSolver extends AbstractDESSolver
Modifier and Type | Field | Description |
---|---|---|
protected double[] |
kHelp |
Helper variable for the k values.
|
protected double[][] |
kVals |
Stores temporary results for the fourth-order Runge-Kutta method.
|
clonedSolver, PROGRESS
Constructor | Description |
---|---|
RungeKutta_EventSolver() |
default constructor
|
RungeKutta_EventSolver(double stepSize) |
|
RungeKutta_EventSolver(double stepSize,
boolean nonnegative) |
|
RungeKutta_EventSolver(RungeKutta_EventSolver rkEventSolver) |
clone constructor
|
Modifier and Type | Method | Description |
---|---|---|
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() |
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, steadystate
protected transient double[][] kVals
protected transient double[] kHelp
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
- public double[] computeChange(DESystem DES, double[] yTemp, double t, double h, double[] change, boolean steadyState) throws org.apache.commons.math.ode.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.org.apache.commons.math.ode.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
Copyright © 2007–2018. All rights reserved.