OGS
ChemistryLib::PhreeqcIOData::ExchangeSite Struct Reference

Detailed Description

Definition at line 28 of file Exchange.h.

#include <Exchange.h>

Collaboration diagram for ChemistryLib::PhreeqcIOData::ExchangeSite:
[legend]

Public Member Functions

 ExchangeSite (std::string name_, MeshLib::PropertyVector< double > *molality_)
 
void print (std::ostream &os, std::size_t const chemical_system_id) const
 

Public Attributes

std::string const name
 
MeshLib::PropertyVector< double > * molality
 

Constructor & Destructor Documentation

◆ ExchangeSite()

ChemistryLib::PhreeqcIOData::ExchangeSite::ExchangeSite ( std::string name_,
MeshLib::PropertyVector< double > * molality_ )
inline

Definition at line 30 of file Exchange.h.

31 : name(std::move(name_)), molality(molality_)
32 {
33 }
MeshLib::PropertyVector< double > * molality
Definition Exchange.h:38

Member Function Documentation

◆ print()

void ChemistryLib::PhreeqcIOData::ExchangeSite::print ( std::ostream & os,
std::size_t const chemical_system_id ) const

Definition at line 19 of file Exchange.cpp.

21{
22 os << name << " " << (*molality)[chemical_system_id] << "\n";
23}

References name.

Member Data Documentation

◆ molality

MeshLib::PropertyVector<double>* ChemistryLib::PhreeqcIOData::ExchangeSite::molality

Definition at line 38 of file Exchange.h.

◆ name

std::string const ChemistryLib::PhreeqcIOData::ExchangeSite::name

Definition at line 37 of file Exchange.h.

Referenced by print().


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