https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
SurfaceComplexationInfo Struct Reference

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, Realsorption_sites
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SurfaceComplexationInfo()

SurfaceComplexationInfo::SurfaceComplexationInfo ( )
inline

Definition at line 27 of file PertinentGeochemicalSystem.h.

27 {};

Member Function Documentation

◆ operator==()

bool SurfaceComplexationInfo::operator== ( const SurfaceComplexationInfo rhs) const
inline

Definition at line 29 of file PertinentGeochemicalSystem.h.

30  {
32  };
std::map< std::string, Real > sorption_sites

Member Data Documentation

◆ sorption_sites

std::map<std::string, Real> SurfaceComplexationInfo::sorption_sites

◆ surface_area

Real SurfaceComplexationInfo::surface_area

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