chemmisol 0.1
|
#include <species.h>
Public Member Functions | |
Solvent (const std::string &name, std::size_t id) | |
Phase | getPhase () const override |
Public Member Functions inherited from chemmisol::FixedAqueousSpecies | |
FixedAqueousSpecies (const std::string &name, std::size_t index, double C) | |
Public Member Functions inherited from chemmisol::FixedChemicalSpecies | |
void | incrementConcentration (double) override |
double | concentration () const override |
double | concentration (double) const override |
double | quantity (double) const override |
std::complex< double > | quantity (std::complex< double >) const override |
double | activity (double) const override |
void | setActivity (double) override |
Public Member Functions inherited from chemmisol::ChemicalSpecies | |
const std::string & | getName () const |
std::size_t | getIndex () const |
double | activity () const |
double | quantity () const |
Additional Inherited Members | |
Protected Member Functions inherited from chemmisol::FixedChemicalSpecies | |
FixedChemicalSpecies (const std::string &name, std::size_t index, double C, double A, double Q) | |
Protected Member Functions inherited from chemmisol::ChemicalSpecies | |
ChemicalSpecies (const std::string &name, std::size_t index) | |
Solvent component.
A solvent is a component always in excess, so that its activity is always 1.0 and its concentration does not matter. This is typically the case for water (H2O component).
|
inline |
Defines a solvent.
|
inlineoverridevirtual |
Phase of the chemical species.
Reimplemented from chemmisol::FixedAqueousSpecies.