org.simBio.bio.matsuoka_et_al_2003.function
Class Diffusion_a
java.lang.Object
org.simBio.core.Component
org.simBio.core.Parameter
org.simBio.core.Composite
org.simBio.core.Reactor
org.simBio.bio.matsuoka_et_al_2003.function.Diffusion_a
- All Implemented Interfaces:
- Node
public class Diffusion_a
- extends Reactor
The first order ordinary differential equation is solved using analytic equation.
The tau and infinity is assumed constant during dt.
This class doesn't work under Runge-Kutta, use Diffusion.java instead.
Created on 2004/05/26
- Version:
- $Revision: 1.1 $
- Author:
- Nobuaki Sarai
Method Summary |
protected void |
calculate(double t)
y = inf -(inf - y_old) * exp(-t/tau) |
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 |
target
public Node target
dt
public Node dt
infinity
public double infinity
tau
public double tau
Diffusion_a
public Diffusion_a()
calculate
protected void calculate(double t)
- y = inf -(inf - y_old) * exp(-t/tau)
- Specified by:
calculate
in class Reactor
- Parameters:
t
- elapsed time (ms)- See Also:
Diffusion.calculate(double)
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.