|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractList java.util.ArrayList org.simBio.core.VariableList org.simBio.core.integrator.RungeKuttaList
public class RungeKuttaList
Runge-Kutta engine (& dt adjuster)
Field Summary |
---|
Fields inherited from class org.simBio.core.VariableList |
---|
minDt, reactors |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
RungeKuttaList()
|
Method Summary | |
---|---|
void |
prepare(double min,
double max,
double dyY,
double duration)
call all Euler's start() dt controlの閾値を設定し、全てのVariableのstart()を呼び出す。 |
double |
update(double t)
RungeKuttaの制御ルーチン 入力:t_n,dt_n 出力:(y_{n+1}),dt_{n+1} 現在は固定刻み幅だが,rk4を呼び出す部分を制御することにより 変動刻み幅のRungeKuttaにできるはず そのためにdt_{n+1}も出力するようにしている tは内部では変更しているが,値渡しなのでConductorのtはt=t_nのまま |
Methods inherited from class org.simBio.core.VariableList |
---|
adjustDt, logIndented, setLinks |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public RungeKuttaList()
Method Detail |
---|
public double update(double t)
update
in class VariableList
t
-
public void prepare(double min, double max, double dyY, double duration)
VariableList
prepare
in class VariableList
min
- minimum time stepmax
- maximum time stepdyY
- restrict maximum dy/Y and adjust time stepduration
- to calculateVariableList.prepare(double, double, double, double)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |