|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.core.Component org.simBio.core.Parameter org.simBio.core.integrator.Euler org.simBio.core.integrator.Positive org.simBio.core.integrator.Concentration
public class Concentration
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.
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 |
---|
public Concentration()
Method Detail |
---|
public void addDydt(double d)
Component
addDydt
in interface Node
addDydt
in class Euler
d
- dy/dtEuler.addDydt(double)
public double getDydt()
Variable
getDydt
in interface Variable
getDydt
in class Euler
Euler.getDydt()
public void addValue(double value)
Euler
addValue
in interface Node
addValue
in class Euler
Node.addValue(double)
public double getValue()
Component
getValue
in interface Node
getValue
in class Parameter
Node.getValue()
public java.lang.String getValueString()
Component
getValueString
in class Parameter
Parameter.getValueString()
public void setInitializer(Initializer initializer)
setInitializer
in class Parameter
Parameter.setInitializer(org.simBio.core.Initializer)
public void setValue(double newValue)
Euler
setValue
in interface Node
setValue
in class Euler
Node.setValue(double)
public void setValueString(java.lang.String label)
Component
setValueString
in class Parameter
label
- value as StringParameter.setValueString(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |