Serializable, Cloneable, DelayValueHolder, DESSolverAdamsBashforthSolver, AdamsMoultonSolver, DormandPrince54Solver, DormandPrince853Solver, GraggBulirschStoerSolver, HighamHall54Solverpublic abstract class FirstOrderSolver extends AdaptiveStepsizeIntegrator
| Modifier and Type | Field | Description |
|---|---|---|
protected org.apache.commons.math.ode.AbstractIntegrator |
integrator |
The integrator used.
|
clonedSolver, PROGRESSabsTol, relTol| Constructor | Description |
|---|---|
FirstOrderSolver() |
default constructor
|
FirstOrderSolver(double stepSize) |
|
FirstOrderSolver(double stepSize,
boolean nonnegative) |
|
FirstOrderSolver(FirstOrderSolver firstOrderSolver) |
clone constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract FirstOrderSolver |
clone() |
|
double[] |
computeChange(DESystem DES,
double[] y,
double t,
double stepSize,
double[] change,
boolean steadyState) |
Computes the change for a given system at the current time with the
current setting for the integration step size.
|
protected abstract void |
createIntegrator() |
initialization function of the integrator
|
org.apache.commons.math.ode.AbstractIntegrator |
getIntegrator() |
|
protected boolean |
hasSolverEventProcessing() |
|
void |
setStepSize(double stepSize) |
Set the integration step size.
|
additionalResults, addPropertyChangeListener, computeDelayedValue, computeSteadyState, eventOccurred, firePropertyChange, g, getName, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setUnstableFlag, solve, solve, solve, solve, steadystategetAbsTol, getRelTol, setAbsTol, setRelTolgetKiSAOtermprotected org.apache.commons.math.ode.AbstractIntegrator integrator
public FirstOrderSolver()
public FirstOrderSolver(double stepSize)
stepSize - public FirstOrderSolver(double stepSize,
boolean nonnegative)
stepSize - nonnegative - the nonnegative flag of the super classAbstractDESSolverpublic FirstOrderSolver(FirstOrderSolver firstOrderSolver)
firstOrderSolver - public void setStepSize(double stepSize)
DESSolversetStepSize in interface DESSolversetStepSize in class AbstractDESSolverpublic abstract FirstOrderSolver clone()
clone in interface DESSolverclone in class AbstractDESSolverpublic double[] computeChange(DESystem DES, double[] y, double t, double stepSize, double[] change, boolean steadyState) throws org.apache.commons.math.ode.DerivativeException
AbstractDESSolvercomputeChange in class AbstractDESSolverDES - The system to be simulated.y - The current state of the system.t - The current simulation time.stepSize - The current integration step size.change - The vector for the resulting change of the system.org.apache.commons.math.ode.DerivativeExceptionprotected abstract void createIntegrator()
public org.apache.commons.math.ode.AbstractIntegrator getIntegrator()
protected boolean hasSolverEventProcessing()
hasSolverEventProcessing in class AbstractDESSolverCopyright © 2007–2018. All rights reserved.