org.simBio.bio.matsuoka_et_al_2003.function
Class Current

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.matsuoka_et_al_2003.function.Current
All Implemented Interfaces:
IResetBeforeCalc, Node

public class Current
extends Reactor
implements IResetBeforeCalc

Calculate concentration (mM) change from current (pA).

Version:
$Id: Current.java,v 1.2 2007/10/17 04:26:16 nsarai Exp $
Author:
Nobuaki Sarai
See Also:
XML example, explanation (Japanese, WORD doc)

Field Summary
 double F
          Faraday Constant (Coulomb/mM)
 Node in
          internal ion concentration (mM)
 Node out
          external ion concentration (mM)
 double valence
          ion valence
 Node Vi
          internal volume (um^3)
 Node Vo
          external volume (um^3)
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
Current()
           
 
Method Summary
protected  void calculate(double t)
          convert current (pA) to d[X]/dt (mM)
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)


Vo

public Node Vo
external volume (um^3)


in

public Node in
internal ion concentration (mM)


out

public Node out
external ion concentration (mM)


valence

public double valence
ion valence


F

public double F
Faraday Constant (Coulomb/mM)

Constructor Detail

Current

public Current()
Method Detail

calculate

protected void calculate(double t)
convert current (pA) to d[X]/dt (mM)

Specified by:
calculate in class Reactor
Parameters:
t - elapsed time (ms)
See Also:
Reactor.calculate(double)

prepare

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

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


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