|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 NodeaddDydt in class Eulerd - dy/dtEuler.addDydt(double)public double getDydt()
Variable
getDydt in interface VariablegetDydt in class EulerEuler.getDydt()public void addValue(double value)
Euler
addValue in interface NodeaddValue in class EulerNode.addValue(double)public double getValue()
Component
getValue in interface NodegetValue in class ParameterNode.getValue()public java.lang.String getValueString()
Component
getValueString in class ParameterParameter.getValueString()public void setInitializer(Initializer initializer)
setInitializer in class ParameterParameter.setInitializer(org.simBio.core.Initializer)public void setValue(double newValue)
Euler
setValue in interface NodesetValue in class EulerNode.setValue(double)public void setValueString(java.lang.String label)
Component
setValueString in class Parameterlabel - value as StringParameter.setValueString(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||