OGS
UserPunch.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <iosfwd>
14#include <string>
15#include <vector>
16
18#include "Output.h"
19
20namespace BaseLib
21{
22class ConfigTree;
23}
24
25namespace ChemistryLib
26{
27namespace PhreeqcIOData
28{
30{
31 SecondaryVariable(std::string name_,
33 : name(std::move(name_)), value(value_)
34 {
35 }
36
37 std::string const name;
40};
41
43{
44 UserPunch(std::vector<SecondaryVariable>&& secondary_variables_,
45 std::vector<std::string>&& statements_)
46 : secondary_variables(std::move(secondary_variables_)),
47 statements(std::move(statements_))
48 {
49 }
50
51 void initialize(std::size_t const num_chemical_systems);
52
53 friend std::ostream& operator<<(std::ostream& os,
54 UserPunch const& user_punch);
55
56 std::vector<SecondaryVariable> secondary_variables;
57 std::vector<std::string> const statements;
58};
59} // namespace PhreeqcIOData
60} // namespace ChemistryLib
MeshLib::PropertyVector< double > * value
Definition UserPunch.h:38
SecondaryVariable(std::string name_, MeshLib::PropertyVector< double > *value_)
Definition UserPunch.h:31
void initialize(std::size_t const num_chemical_systems)
Definition UserPunch.cpp:19
UserPunch(std::vector< SecondaryVariable > &&secondary_variables_, std::vector< std::string > &&statements_)
Definition UserPunch.h:44
friend std::ostream & operator<<(std::ostream &os, UserPunch const &user_punch)
Definition UserPunch.cpp:27
std::vector< SecondaryVariable > secondary_variables
Definition UserPunch.h:56
std::vector< std::string > const statements
Definition UserPunch.h:57