org.simBio.core.integrator
Class Concentration

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.integrator.Euler
              extended by org.simBio.core.integrator.Positive
                  extended by org.simBio.core.integrator.Concentration
All Implemented Interfaces:
Node, Variable

public class Concentration
extends Positive

The amount of ion (or molecule) is hold as value. The concentration (=amount/volume) is used as interface to other instance. The "volume" should be defined in advance in the XML.

Version:
$Log: Concentration.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:29 sarai rearrenge folder structure as a Maven style Revision 1.4 2005/08/04 07:55:41 sarai revise Javadoc
Revision 1.3 2005/08/04 07:47:19 sarai merge with branch dev_terashima_et_al_2005
Revision 1.1.2.1 2005/06/15 05:33:38 sarai refactored Concentration to org.simBio.core.integrator
Author:
Chiaki Oka

Field Summary
 
Fields inherited from class org.simBio.core.integrator.Euler
dydt
 
Fields inherited from class org.simBio.core.Parameter
value
 
Fields inherited from interface org.simBio.core.Variable
TINY
 
Constructor Summary
Concentration()
           
 
Method Summary
 void addDydt(double d)
          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 getValue()
          always throws UnsupportedOperationException, need to implement 'Node'
 java.lang.String getValueString()
          文字列として現在値を返す。
 void setInitializer(Initializer initializer)
          set initial amount.
 void setValue(double newValue)
          log warn, this Method should not be used.
 void setValueString(java.lang.String label)
          文字列を受け取り現在値に設定する。 updateObserverに通知する。
 
Methods inherited from class org.simBio.core.integrator.Positive
update
 
Methods inherited from class org.simBio.core.integrator.Euler
getDydtOverY
 
Methods inherited from class org.simBio.core.Parameter
prepare, 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
 

Constructor Detail

Concentration

public Concentration()
Method Detail

addDydt

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

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

getDydt

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

Specified by:
getDydt in interface Variable
Overrides:
getDydt in class Euler
Returns:
dy/dt
See Also:
Euler.getDydt()

addValue

public void addValue(double value)
Description copied from class: Euler
log warn, this Method should not be used.

Specified by:
addValue in interface Node
Overrides:
addValue in class Euler
See Also:
Node.addValue(double)

getValue

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

Specified by:
getValue in interface Node
Overrides:
getValue in class Parameter
Returns:
value
See Also:
Node.getValue()

getValueString

public java.lang.String getValueString()
Description copied from class: Component
文字列として現在値を返す。

Overrides:
getValueString in class Parameter
Returns:
value as String
See Also:
Parameter.getValueString()

setInitializer

public void setInitializer(Initializer initializer)
set initial amount.

Overrides:
setInitializer in class Parameter
See Also:
Parameter.setInitializer(org.simBio.core.Initializer)

setValue

public void setValue(double newValue)
Description copied from class: Euler
log warn, this Method should not be used.

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

setValueString

public void setValueString(java.lang.String label)
Description copied from class: Component
文字列を受け取り現在値に設定する。 updateObserverに通知する。

Overrides:
setValueString in class Parameter
Parameters:
label - value as String
See Also:
Parameter.setValueString(java.lang.String)


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