org.simBio.core.integrator
Class RungeKutta

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.integrator.RungeKutta
All Implemented Interfaces:
Node, Variable
Direct Known Subclasses:
PositiveRK

public class RungeKutta
extends Parameter
implements Variable

RungeKutta法で計算される変数
the variable calculated by RungeKutta method

Version:
$Id: RungeKutta.java,v 1.3 2006/06/10 07:20:56 nsarai Exp $
Author:
Toshifumi Nishi, Nobuaki Sarai

Field Summary
 
Fields inherited from class org.simBio.core.Parameter
value
 
Fields inherited from interface org.simBio.core.Variable
TINY
 
Constructor Summary
RungeKutta()
           
 
Method Summary
 void addDydt(double dydt)
          always throws UnsupportedOperationException, need to implement 'Node'
 void addValue(double value)
          log warn, this Method should not be used.
 double getDydt()
          return dy/dt
dy/dtの値を返す。
 double getDydtOverY()
          dy/dtを現在値(y)で割った値を返す。
protected  void prepare()
          y_nの値の一時保管
 void setValue(double newValue)
          TODO setValueで更新出来た方がよいでしょうか?
 
Methods inherited from class org.simBio.core.Parameter
getValue, getValueString, setInitializer, setValueString, setValueToField
 
Methods inherited from class org.simBio.core.Component
accept, 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
getValue
 

Constructor Detail

RungeKutta

public RungeKutta()
Method Detail

addDydt

public void addDydt(double dydt)
Description copied from class: Component
always throws UnsupportedOperationException, need to implement 'Node'

Specified by:
addDydt in interface Node
Overrides:
addDydt in class Component
Parameters:
dydt - dy/dt
See Also:
Node.addDydt(double)

getDydt

public double getDydt()
Description copied from interface: Variable
return dy/dt
dy/dtの値を返す。

Specified by:
getDydt in interface Variable
Returns:
dydt
See Also:
Variable.getDydt()

getDydtOverY

public double getDydtOverY()
dy/dtを現在値(y)で割った値を返す。

Specified by:
getDydtOverY in interface Variable
Returns:
dy/dt over y

prepare

protected void prepare()
y_nの値の一時保管

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

setValue

public void setValue(double newValue)
TODO setValueで更新出来た方がよいでしょうか?

Specified by:
setValue in interface Node
Overrides:
setValue in class Parameter
See Also:
Node.setValue(double)

addValue

public void addValue(double value)
log warn, this Method should not be used.

Specified by:
addValue in interface Node
Overrides:
addValue in class Parameter
Parameters:
value -


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