Data structure designed to hold information related to sorption via surface complexation. More...
#include <PertinentGeochemicalSystem.h>
Public Member Functions | |
SurfaceComplexationInfo () | |
bool | operator== (const SurfaceComplexationInfo &rhs) const |
Public Attributes | |
Real | surface_area |
std::map< std::string, Real > | sorption_sites |
Data structure designed to hold information related to sorption via surface complexation.
Since this is uncommon in geochemistry models, and this information only needs to be retrieved once per node at the start of the Newton process, it uses an std::map, which is slow compared with a std::vector, but saves memory compared with storing a lot of "zeroes" for every non-sorbing species in the model
Definition at line 25 of file PertinentGeochemicalSystem.h.
|
inline |
Definition at line 27 of file PertinentGeochemicalSystem.h.
|
inline |
Definition at line 29 of file PertinentGeochemicalSystem.h.
std::map<std::string, Real> SurfaceComplexationInfo::sorption_sites |
Definition at line 35 of file PertinentGeochemicalSystem.h.
Referenced by PertinentGeochemicalSystem::createModel(), and operator==().
Real SurfaceComplexationInfo::surface_area |
Definition at line 32 of file PertinentGeochemicalSystem.h.
Referenced by PertinentGeochemicalSystem::createModel(), and operator==().