OGS
Knobs.cpp
Go to the documentation of this file.
1
11#include "Knobs.h"
12
13#include <ostream>
14
15namespace ChemistryLib
16{
17namespace PhreeqcIOData
18{
19std::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
std::ostream & operator<<(std::ostream &os, PhreeqcIO const &phreeqc_io)
double const relative_convergence_tolerance
Definition Knobs.h:24