OGS
KineticReactant.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <iosfwd>
14#include <optional>
15#include <string>
16#include <vector>
17
19#include "Output.h"
20
21namespace ChemistryLib
22{
23namespace PhreeqcIOData
24{
26{
27 KineticReactant(std::string name_,
28 std::string chemical_formula_,
30 MeshLib::PropertyVector<double>* molality_prev_,
31 MeshLib::PropertyVector<double>* volume_fraction_,
32 MeshLib::PropertyVector<double>* volume_fraction_prev_,
33 MeshLib::PropertyVector<double>* mesh_prop_molality_,
34 std::vector<double>&& parameters_,
35 bool const fix_amount_)
36 : name(std::move(name_)),
37 chemical_formula(std::move(chemical_formula_)),
38 molality(molality_),
39 molality_prev(molality_prev_),
40 volume_fraction(volume_fraction_),
41 volume_fraction_prev(volume_fraction_prev_),
42 mesh_prop_molality(mesh_prop_molality_),
43 parameters(std::move(parameters_)),
44 fix_amount(fix_amount_)
45 {
46 }
47
48 void print(std::ostream& os, std::size_t const chemical_system_id) const;
49
50 std::string const name;
51 std::string const chemical_formula;
57 std::vector<double> const parameters;
58 bool const fix_amount;
60};
61} // namespace PhreeqcIOData
62} // namespace ChemistryLib
MeshLib::PropertyVector< double > * volume_fraction_prev
MeshLib::PropertyVector< double > * molality_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_)
MeshLib::PropertyVector< double > * volume_fraction
MeshLib::PropertyVector< double > * mesh_prop_molality
MeshLib::PropertyVector< double > * molality
void print(std::ostream &os, std::size_t const chemical_system_id) const