public class ConcentrationDelta extends Object
ChemicalEntity in
a CellSubsection.| Constructor and Description |
|---|
ConcentrationDelta(UpdateModule module,
CellSubsection cellSubsection,
ChemicalEntity chemicalEntity,
javax.measure.Quantity<MolarConcentration> quantity)
Creates a new concentration delta.
|
| Modifier and Type | Method and Description |
|---|---|
ConcentrationDelta |
add(double summand) |
CellSubsection |
getCellSubsection()
Returns the subsection.
|
ChemicalEntity |
getChemicalEntity()
Returns the chemical entity.
|
UpdateModule |
getModule()
Returns the module, that calculated this delta.
|
javax.measure.Quantity<MolarConcentration> |
getQuantity()
Returns the quantity of the change.
|
ConcentrationDelta |
multiply(double multiplicand)
Multiplies (modifies) this delta with the given multiplicand.
|
String |
toString() |
public ConcentrationDelta(UpdateModule module, CellSubsection cellSubsection, ChemicalEntity chemicalEntity, javax.measure.Quantity<MolarConcentration> quantity)
module - The module the delta was calculated by.cellSubsection - The subsection the delta is applied tochemicalEntity - The chemical entity the delta is applied to.quantity - The actual quantity of the change.public UpdateModule getModule()
public CellSubsection getCellSubsection()
public ChemicalEntity getChemicalEntity()
public javax.measure.Quantity<MolarConcentration> getQuantity()
public ConcentrationDelta multiply(double multiplicand)
multiplicand - The scalar that the delta is multiplied with.public ConcentrationDelta add(double summand)
Copyright © 2019. All rights reserved.