OGS
EquilibriumReactant.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <iosfwd>
7#include <string>
8#include <vector>
9
11#include "Output.h"
12
13namespace BaseLib
14{
15class ConfigTree;
16}
17
18namespace ChemistryLib
19{
20namespace PhreeqcIOData
21{
23{
24 EquilibriumReactant(std::string name_,
26 MeshLib::PropertyVector<double>* molality_prev_,
27 MeshLib::PropertyVector<double>* volume_fraction_,
28 MeshLib::PropertyVector<double>* volume_fraction_prev_,
29 MeshLib::PropertyVector<double>* mesh_prop_molality_,
30 double saturation_index_,
31 std::string reaction_irreversibility_)
32 : name(std::move(name_)),
33 molality(molality_),
34 molality_prev(molality_prev_),
35 volume_fraction(volume_fraction_),
36 volume_fraction_prev(volume_fraction_prev_),
37 mesh_prop_molality(mesh_prop_molality_),
38 saturation_index(saturation_index_),
39 reaction_irreversibility(std::move(reaction_irreversibility_))
40 {
41 }
42
43 void print(std::ostream& os, std::size_t const chemical_system_id) const;
44
45 std::string const name;
51 double const saturation_index;
52 std::string const reaction_irreversibility;
54};
55} // namespace PhreeqcIOData
56} // namespace ChemistryLib
ItemType
Category used to interpret a PHREEQC output column.
void print(std::ostream &os, std::size_t const chemical_system_id) const
EquilibriumReactant(std::string name_, MeshLib::PropertyVector< double > *molality_, MeshLib::PropertyVector< double > *molality_prev_, MeshLib::PropertyVector< double > *volume_fraction_, MeshLib::PropertyVector< double > *volume_fraction_prev_, MeshLib::PropertyVector< double > *mesh_prop_molality_, double saturation_index_, std::string reaction_irreversibility_)
MeshLib::PropertyVector< double > * volume_fraction_prev
MeshLib::PropertyVector< double > * molality
MeshLib::PropertyVector< double > * molality_prev
MeshLib::PropertyVector< double > * mesh_prop_molality
MeshLib::PropertyVector< double > * volume_fraction