public abstract class FirstOrderSolver extends AdaptiveStepsizeIntegrator
PROGRESS, RESULT
Constructor and Description |
---|
FirstOrderSolver()
default constructor
|
FirstOrderSolver(double stepSize) |
FirstOrderSolver(double stepSize,
boolean nonnegative) |
FirstOrderSolver(FirstOrderSolver firstOrderSolver)
clone constructor
|
Modifier and Type | Method and 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.
|
org.apache.commons.math.ode.AbstractIntegrator |
getIntegrator() |
void |
setStepSize(double stepSize)
Set the integration step size.
|
getAbsTol, getRelTol, setAbsTol, setRelTol
addPropertyChangeListener, computeDelayedValue, eventOccurred, firePropertyChange, g, getName, getSerialversionuid, getStepSize, inBetweenSteps, isIncludeIntermediates, isNonnegative, isUnstable, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setUnstableFlag, solve, solve, solve, solve, solve, solve, solve, solve, steadystate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKiSAOterm
public FirstOrderSolver()
public FirstOrderSolver(double stepSize)
stepSize
- public FirstOrderSolver(double stepSize, boolean nonnegative)
stepSize
- nonnegative
- the nonnegative flag of the super classAbstractDESSolver
public FirstOrderSolver(FirstOrderSolver firstOrderSolver)
firstOrderSolver
- public void setStepSize(double stepSize)
DESSolver
setStepSize
in interface DESSolver
setStepSize
in class AbstractDESSolver
public abstract FirstOrderSolver clone()
AbstractDESSolver
clone
in interface DESSolver
clone
in class AbstractDESSolver
public double[] computeChange(DESystem DES, double[] y, double t, double stepSize, double[] change, boolean steadyState) throws org.apache.commons.math.ode.DerivativeException
AbstractDESSolver
computeChange
in class AbstractDESSolver
DES
- 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.DerivativeException
public org.apache.commons.math.ode.AbstractIntegrator getIntegrator()
Copyright © 2007–2021. All rights reserved.