Definition at line 42 of file UserPunch.h.
#include <UserPunch.h>
◆ UserPunch()
ChemistryLib::PhreeqcIOData::UserPunch::UserPunch |
( |
std::vector< SecondaryVariable > && | secondary_variables_, |
|
|
std::vector< std::string > && | statements_ ) |
|
inline |
Definition at line 44 of file UserPunch.h.
48 {
49 }
std::vector< SecondaryVariable > secondary_variables
std::vector< std::string > const statements
◆ initialize()
void ChemistryLib::PhreeqcIOData::UserPunch::initialize |
( |
std::size_t const | num_chemical_systems | ) |
|
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
UserPunch const & | user_punch ) |
|
friend |
Definition at line 27 of file UserPunch.cpp.
28{
29 os << "USER_PUNCH"
30 << "\n";
31 os << "-headings ";
34 {
35 os << secondary_variable.name << " ";
36 }
37 os << "\n";
38
39 os << "-start"
40 << "\n";
41 int line_number = 1;
42 for (
auto const& statement : user_punch.
statements)
43 {
44 os << line_number << " " << statement << "\n";
45 ++line_number;
46 }
47 os << "-end"
48 << "\n";
49
50 return os;
51}
◆ secondary_variables
std::vector<SecondaryVariable> ChemistryLib::PhreeqcIOData::UserPunch::secondary_variables |
◆ statements
std::vector<std::string> const ChemistryLib::PhreeqcIOData::UserPunch::statements |
The documentation for this struct was generated from the following files: