public class KineticLaw extends Object
AppliedExpressions.| Constructor and Description |
|---|
KineticLaw(AppliedExpression expression)
Creates a new dynamic kinetic law with the applied expression.
|
| Modifier and Type | Method and Description |
|---|---|
double |
calculateVelocity(ConcentrationContainer concentrationContainer)
Calculates the velocity of the reaction based on the entities in the concentration container.
|
CellSubsection |
getCurrentCellSection()
Returns the current cell section the kinetic law is applied to.
|
AppliedExpression |
getExpression()
Returns the actual expression use to calculate this kinetic law.
|
void |
referenceChemicalEntityToParameter(String parameterIdentifier,
ChemicalEntity entity)
Assigns a parameter of the expression to the concentration of a chemical species.
|
void |
setAppliedScale(Double appliedScale)
Sets the scaling factor that is applied to account for changes in the time step size.
|
void |
setCurrentCellSection(CellSubsection currentCellSection)
Sets the current cell section the kinetic law is applied to.
|
public KineticLaw(AppliedExpression expression)
expression - The expression.public AppliedExpression getExpression()
public void referenceChemicalEntityToParameter(String parameterIdentifier, ChemicalEntity entity)
parameterIdentifier - The identifier of the parameter.entity - The entity to be referenced.public void setAppliedScale(Double appliedScale)
appliedScale - The scaling factor.public CellSubsection getCurrentCellSection()
public void setCurrentCellSection(CellSubsection currentCellSection)
currentCellSection - The current cell section the kinetic law is applied to.public double calculateVelocity(ConcentrationContainer concentrationContainer)
concentrationContainer - The concentration container.Copyright © 2018. All rights reserved.