public class ConcentrationPool extends Object
| Constructor and Description |
|---|
ConcentrationPool()
Creates a new, empty concentration pool.
|
| Modifier and Type | Method and Description |
|---|---|
ConcentrationPool |
fullCopy()
Creates a copy of this concentration pool.
|
javax.measure.Quantity<MolarConcentration> |
get(ChemicalEntity entity)
Returns the concentration of a entity.
|
Set<Map.Entry<ChemicalEntity,javax.measure.Quantity<MolarConcentration>>> |
getConcentrations() |
Set<ChemicalEntity> |
getReferencedEntities()
Returns all entities referenced in this map.
|
void |
set(ChemicalEntity entity,
javax.measure.Quantity<MolarConcentration> concentration)
Sets the concentration of a entity.
|
public ConcentrationPool()
public Set<ChemicalEntity> getReferencedEntities()
public Set<Map.Entry<ChemicalEntity,javax.measure.Quantity<MolarConcentration>>> getConcentrations()
public javax.measure.Quantity<MolarConcentration> get(ChemicalEntity entity)
entity - The entity.public void set(ChemicalEntity entity, javax.measure.Quantity<MolarConcentration> concentration)
entity - Th entity.concentration - The concentration (this should be scaled to the subsection volume).public ConcentrationPool fullCopy()
Copyright © 2018. All rights reserved.