org.simBio.bio.matsuoka_et_al_2003.function
Class Charge

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

public class Charge
extends Reactor
implements IResetBeforeCalc

keep whole cell current from external solution. calculates dVm/dt = - I / Cm This class assumes out side potential = 0.

Version:
$Revision: 1.1 $,
Created on 2003/11/22
Author:
Nobuaki Sarai
See Also:

XML example,
explanation (Japanese, WORD doc)

Field Summary
 Node Cm
          membrane capacitance (pF)
 Node Vm
          membrane potential (mV)
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
Charge()
           
 
Method Summary
protected  void calculate(double t)
          dVm/dt = - I / Cm
 
Methods inherited from class org.simBio.core.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, prepare, 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

Cm

public Node Cm
membrane capacitance (pF)


Vm

public Node Vm
membrane potential (mV)

Constructor Detail

Charge

public Charge()
Method Detail

calculate

protected void calculate(double t)
dVm/dt = - I / Cm

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


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