chemmisol 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
chemmisol::FixedAqueousSpecies Class Reference

#include <species.h>

Inheritance diagram for chemmisol::FixedAqueousSpecies:
Inheritance graph
[legend]
Collaboration diagram for chemmisol::FixedAqueousSpecies:
Collaboration graph
[legend]

Public Member Functions

 FixedAqueousSpecies (const std::string &name, std::size_t index, double C)
 
Phase getPhase () const override
 
- 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)
 

Detailed Description

Fixed aqueous species implementation.

Constructor & Destructor Documentation

◆ FixedAqueousSpecies()

chemmisol::FixedAqueousSpecies::FixedAqueousSpecies ( const std::string &  name,
std::size_t  index,
double  C 
)
inline

Defines a fixed aqueous species. Quantity and activity are fixed according to the provided concentration.

Parameters
nameName of the species.
indexIndex used to retrieve the species in data structures used internally by the ChemicalSystem. The index can also be used to uniquely identify each species of a system.
CFixed concentration.

Member Function Documentation

◆ getPhase()

Phase chemmisol::FixedAqueousSpecies::getPhase ( ) const
inlineoverridevirtual

Phase of the chemical species.

Implements chemmisol::ChemicalSpecies.

Reimplemented in chemmisol::Solvent.


The documentation for this class was generated from the following file: