|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simBio.core.Component
org.simBio.core.Parameter
org.simBio.core.integrator.Euler
public class Euler
the variable calculated by euler method
オイラー法で計算される変数
| Field Summary | |
|---|---|
protected double |
dydt
dy/dt |
| Fields inherited from class org.simBio.core.Parameter |
|---|
value |
| Fields inherited from interface org.simBio.core.Variable |
|---|
TINY |
| Constructor Summary | |
|---|---|
Euler()
|
|
| Method Summary | |
|---|---|
void |
addDydt(double d)
always throws UnsupportedOperationException, need to implement 'Node' |
void |
addValue(double value)
log warn, this Method should not be used. |
double |
getDydt()
return dy/dt dy/dtの値を返す。 |
double |
getDydtOverY()
dy/dtを現在値(y)で割った値を返す。 |
void |
setValue(double newValue)
log warn, this Method should not be used. |
protected void |
update(double dt)
calculate new y = old y + dy/dt * dt, clear dy/dt new y = old y + dy/dt * dtを計算し、dy/dtを0にする |
| Methods inherited from class org.simBio.core.Parameter |
|---|
getValue, getValueString, prepare, setInitializer, setValueString, setValueToField |
| Methods inherited from class org.simBio.core.Component |
|---|
accept, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.simBio.core.Node |
|---|
getValue |
| Field Detail |
|---|
protected double dydt
| Constructor Detail |
|---|
public Euler()
| Method Detail |
|---|
public void addDydt(double d)
Component
addDydt in interface NodeaddDydt in class Componentd - dy/dtNode.addDydt(double)public double getDydt()
Variable
getDydt in interface VariableVariable.getDydt()protected void update(double dt)
dt - public double getDydtOverY()
Variable
getDydtOverY in interface VariableVariable.getDydtOverY()public void setValue(double newValue)
setValue in interface NodesetValue in class ParameternewValue - Node.setValue(double)public void addValue(double value)
addValue in interface NodeaddValue in class Parametervalue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||