OGS
PhreeqcIOData/KineticReactant.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 <optional>
8#include <string>
9#include <vector>
10
12#include "Output.h"
13
14namespace ChemistryLib
15{
16namespace PhreeqcIOData
17{
19{
20 KineticReactant(std::string name_,
21 std::string chemical_formula_,
23 MeshLib::PropertyVector<double>* molality_prev_,
24 MeshLib::PropertyVector<double>* volume_fraction_,
25 MeshLib::PropertyVector<double>* volume_fraction_prev_,
26 MeshLib::PropertyVector<double>* mesh_prop_molality_,
27 std::vector<double>&& parameters_,
28 bool const fix_amount_)
29 : name(std::move(name_)),
30 chemical_formula(std::move(chemical_formula_)),
31 molality(molality_),
32 molality_prev(molality_prev_),
33 volume_fraction(volume_fraction_),
34 volume_fraction_prev(volume_fraction_prev_),
35 mesh_prop_molality(mesh_prop_molality_),
36 parameters(std::move(parameters_)),
37 fix_amount(fix_amount_)
38 {
39 }
40
41 void print(std::ostream& os, std::size_t const chemical_system_id) const;
42
43 std::string const name;
44 std::string const chemical_formula;
50 std::vector<double> const parameters;
51 bool const fix_amount;
53};
54} // namespace PhreeqcIOData
55} // namespace ChemistryLib
ItemType
Category used to interpret a PHREEQC output column.
MeshLib::PropertyVector< double > * volume_fraction_prev
KineticReactant(std::string name_, std::string chemical_formula_, 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_, std::vector< double > &&parameters_, bool const fix_amount_)
void print(std::ostream &os, std::size_t const chemical_system_id) const