OGS
Knobs.cpp
Go to the documentation of this file.
1
11
#include "
Knobs.h
"
12
13
#include <ostream>
14
15
namespace
ChemistryLib
16
{
17
namespace
PhreeqcIOData
18
{
19
std::ostream&
operator<<
(std::ostream& os,
Knobs
const
& knobs)
20
{
21
os <<
"KNOBS"
22
<<
"\n"
;
23
os <<
"-iterations "
<< knobs.
max_iterations
<<
"\n"
;
24
os <<
"-convergence_tolerance "
<< knobs.
relative_convergence_tolerance
25
<<
"\n"
;
26
os <<
"-tolerance "
<< knobs.
tolerance
<<
"\n"
;
27
os <<
"-step_size "
<< knobs.
step_size
<<
"\n"
;
28
os <<
"-diagonal_scale "
<< knobs.
scaling
<<
"\n"
;
29
30
return
os;
31
}
32
}
// namespace PhreeqcIOData
33
}
// namespace ChemistryLib
Knobs.h
ChemistryLib::PhreeqcIOData::operator<<
std::ostream & operator<<(std::ostream &os, PhreeqcIO const &phreeqc_io)
Definition
PhreeqcIO.cpp:483
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib::PhreeqcIOData::Knobs
Definition
Knobs.h:20
ChemistryLib::PhreeqcIOData::Knobs::scaling
bool const scaling
Definition
Knobs.h:27
ChemistryLib::PhreeqcIOData::Knobs::max_iterations
int const max_iterations
Definition
Knobs.h:23
ChemistryLib::PhreeqcIOData::Knobs::tolerance
double const tolerance
Definition
Knobs.h:25
ChemistryLib::PhreeqcIOData::Knobs::step_size
int const step_size
Definition
Knobs.h:26
ChemistryLib::PhreeqcIOData::Knobs::relative_convergence_tolerance
double const relative_convergence_tolerance
Definition
Knobs.h:24
ChemistryLib
PhreeqcIOData
Knobs.cpp
Generated by
1.11.0