org.simBio.bio.terashima_et_al_2006.experiment
Class StepChanger2

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.terashima_et_al_2006.experiment.StepChanger2
All Implemented Interfaces:
Node

public class StepChanger2
extends Reactor

step change

Version:
$Log: StepChanger2.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/10/17 07:53:05 mikael Moved from branch dev_terashima_et_al_2005 Revision 1.1.2.3 2005/07/01 12:21:55 sarai revised Javadoc
2005/06/10 06:15:15 Sarai moved to simBio branch dev_terashima_et_al_2005
2005/06/07 02:09:24 Sarai refactor bio.function to bio.terashima_et_al_2005
2005/02/07 23:33:55 Takeuchi created for Fig6-8 from StepChanger
Author:
Takeuchi

Field Summary
 double hold
           
 double interval
           
 double offset
           
 double onset
           
 double step
           
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
StepChanger2()
           
 
Method Summary
protected  void calculate(double t)
          write equations here, and calculate dy over dt.
protected  void prepare()
          親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。
 
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

hold

public double hold

step

public double step

interval

public double interval

onset

public double onset

offset

public double offset
Constructor Detail

StepChanger2

public StepChanger2()
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)

prepare

protected void prepare()
Description copied from class: Parameter
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。

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


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