org.simBio.bio.kuzumoto_et_al_2007.function
Class PA2MS

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.Composite
              extended by org.simBio.core.Reactor
                  extended by org.simBio.bio.kuzumoto_et_al_2007.function.Average
                      extended by org.simBio.bio.kuzumoto_et_al_2007.function.PA2MS
All Implemented Interfaces:
Node

public class PA2MS
extends Average

Average and Convert pA to M/S.

Version:
$Id: PA2MS.java,v 1.1 2007/12/15 07:21:54 nsarai Exp $
Author:
Sarai

Field Summary
 double F
          Faraday Constant (Coulomb/mM)
 double valence
          ion valence
 Node Vi
          internal volume (um^3)
 
Fields inherited from class org.simBio.bio.kuzumoto_et_al_2007.function.Average
converter, cycle, sum, t0, target
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
PA2MS()
           
 
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.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField
 
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
 
Methods inherited from interface org.simBio.core.Node
addDydt, addValue, getValue, setValue
 

Field Detail

Vi

public Node Vi
internal volume (um^3)


valence

public double valence
ion valence


F

public double F
Faraday Constant (Coulomb/mM)

Constructor Detail

PA2MS

public PA2MS()
Method Detail

calculate

protected void calculate(double t)
Description copied from class: Reactor
write equations here, and calculate dy over dt.
計算中に呼び出される。 計算式を記載する。dy/dtをここで計算する。

Overrides:
calculate in class Average
Parameters:
t - elapsed time (ms)

prepare

protected void prepare()
Description copied from class: Parameter
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。

Overrides:
prepare in class Average
See Also:
Component.prepare()


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.