org.simBio.bio.matsuoka_et_al_2004.function
Class MassConservation

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_2004.function.MassConservation
All Implemented Interfaces:
Node

public class MassConservation
extends Reactor

calculation of molecular concentration conformed to mass conservation law

  [A] = [A]total - [A']
 

Since:
rc20
Version:
$Log: MassConservation.java,v $ Revision 1.1 2005/11/01 06:32:39 mikaelwing First version of simBio hosted on sourceforge, version 0.3 Revision 1.1 2005/09/12 04:57:24 sarai rearrenge folder structure as a Maven style Revision 1.2 2005/08/04 08:43:04 sarai revise Javadoc to suppress Warnings
2005/02/01 08:51:20 Some comments were updated to make Javadoc.
2004/12/17 05:43:03 update
2004/09/16 10:32:07 Created
Author:
SAITO Ryuta
See Also:
Matsuoka et al. (2004) Korzeniewski & Zoladz (2001)
MassConservation XML example explanation (Japanese, WORD doc)

Field Summary
 Node other
          other concentration of the same molecular group
 Node total
          total concentration
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
MassConservation()
           
 
Method Summary
protected  void calculate(double t)
          write equations here, and calculate dy over dt.
 
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

total

public Node total
total concentration


other

public Node other
other concentration of the same molecular group

Constructor Detail

MassConservation

public MassConservation()
Method Detail

calculate

protected void calculate(double t)
Description copied from class: Reactor
write equations here, and calculate dy over dt.
計算中に呼び出される。 計算式を記載する。dy/dtをここで計算する。

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


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