org.simBio.bio.kuzumoto_et_al_2007.function
Class Average
java.lang.Object
org.simBio.core.Component
org.simBio.core.Parameter
org.simBio.core.Composite
org.simBio.core.Reactor
org.simBio.bio.kuzumoto_et_al_2007.function.Average
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- PA2MS
public class Average
- extends Reactor
- Version:
- $Id: Average.java,v 1.1 2007/12/15 07:21:54 nsarai Exp $
- Author:
- Sarai
- See Also:
Rate
Method Summary |
protected void |
calculate(double t)
write equations here, and calculate dy over dt. |
protected void |
prepare()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
Methods inherited from class org.simBio.core.Component |
addDydt, 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 |
t0
public double t0
- starting time
target
public Node target
- target to sum
sum
public Node sum
- total amount
converter
public double converter
- convert unit
cycle
public double cycle
- cycle
Average
public Average()
calculate
protected void calculate(double t)
- Description copied from class:
Reactor
- write equations here, and calculate dy over dt.
計算中に呼び出される。
計算式を記載する。dy/dtをここで計算する。
- Specified by:
calculate
in class Reactor
- Parameters:
t
- elapsed time (ms)
prepare
protected void prepare()
- Description copied from class:
Parameter
- 親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。
- Overrides:
prepare
in class Parameter
- See Also:
Component.prepare()
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.