org.simBio.bio.matsuoka_et_al_2003.function
Class Diffusion

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

public class Diffusion
extends Reactor

using dy/dt to calculate first order ordinary differential equation.

Version:
$Revision: 1.1 $
Author:
Nobuaki Sarai

Field Summary
 double infinity
           
 Variable target
           
 double tau
           
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
Diffusion()
           
 
Method Summary
protected  void calculate(double t)
          dy/dt = (inf - y)/ tau
 
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

target

public Variable target

infinity

public double infinity

tau

public double tau
Constructor Detail

Diffusion

public Diffusion()
Method Detail

calculate

protected void calculate(double t)
dy/dt = (inf - y)/ tau

Specified by:
calculate in class Reactor
Parameters:
t - elapsed time (ms)


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