public class Delta extends Object
ChemicalEntity
in a specific CellSection.| Constructor and Description |
|---|
Delta(CellSection cellSection,
ChemicalEntity chemicalEntity,
javax.measure.Quantity<MolarConcentration> quantity)
Creates a new delta for a specific
ChemicalEntity in a specific CellSection. |
| Modifier and Type | Method and Description |
|---|---|
CellSection |
getCellSection()
Returns the cell section.
|
ChemicalEntity |
getChemicalEntity()
Returns the chemical entity.
|
javax.measure.Quantity<MolarConcentration> |
getQuantity()
Returns the quantity of the change.
|
Delta |
merge(Delta anotherDelta)
Merges (adds) two deltas an returns a new delta.
|
Delta |
multiply(double multiplicand)
Multiplies (modifies) this delta .
|
String |
toString() |
public Delta(CellSection cellSection, ChemicalEntity chemicalEntity, javax.measure.Quantity<MolarConcentration> quantity)
ChemicalEntity in a specific CellSection.cellSection - The cell section.chemicalEntity - The chemical entity.quantity - The change in concentration.public CellSection getCellSection()
public ChemicalEntity getChemicalEntity()
public javax.measure.Quantity<MolarConcentration> getQuantity()
public Delta multiply(double multiplicand)
multiplicand - The scalar that the delta is multiplied with.public Delta merge(Delta anotherDelta)
anotherDelta - The other delta.Copyright © 2017. All rights reserved.