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

#include <species.h>

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

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)
 

Detailed Description

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).

Constructor & Destructor Documentation

◆ Solvent()

chemmisol::Solvent::Solvent ( const std::string &  name,
std::size_t  id 
)
inline

Defines a solvent.

Member Function Documentation

◆ getPhase()

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

Phase of the chemical species.

Reimplemented from chemmisol::FixedAqueousSpecies.


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