org.simBio.bio.sarai_noma_2004
Class VoltageClamp

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.sarai_noma_2004.VoltageClamp
All Implemented Interfaces:
Node

public class VoltageClamp
extends Reactor

apply square voltage pulse

Version:
$Revision: 1.1 $
Author:
Nobuaki Sarai
See Also:
XML example

Field Summary
 double hold
           
 double interval
           
 double offset
           
 double onset
           
 double test
           
 Node Vm
           
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
VoltageClamp()
           
 
Method Summary
protected  void calculate(double t)
          apply square voltage pulse
protected  void prepare()
          set membrane potential = holding potential
 
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

Vm

public Node Vm

interval

public double interval

onset

public double onset

offset

public double offset

hold

public double hold

test

public double test
Constructor Detail

VoltageClamp

public VoltageClamp()
Method Detail

prepare

protected void prepare()
set membrane potential = holding potential

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

calculate

protected void calculate(double t)
apply square voltage pulse

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.