OGS
ChemistryLib::PhreeqcIOData::Knobs Struct Reference

Detailed Description

Definition at line 19 of file Knobs.h.

#include <Knobs.h>

Public Attributes

int const max_iterations
double const relative_convergence_tolerance
double const tolerance
int const step_size
bool const scaling

Friends

std::ostream & operator<< (std::ostream &os, Knobs const &knobs)

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
Knobs const & knobs )
friend

Definition at line 19 of file Knobs.cpp.

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}

References max_iterations, relative_convergence_tolerance, scaling, step_size, and tolerance.

Member Data Documentation

◆ max_iterations

int const ChemistryLib::PhreeqcIOData::Knobs::max_iterations

Definition at line 23 of file Knobs.h.

Referenced by operator<<.

◆ relative_convergence_tolerance

double const ChemistryLib::PhreeqcIOData::Knobs::relative_convergence_tolerance

Definition at line 24 of file Knobs.h.

Referenced by operator<<.

◆ scaling

bool const ChemistryLib::PhreeqcIOData::Knobs::scaling

Definition at line 27 of file Knobs.h.

Referenced by operator<<.

◆ step_size

int const ChemistryLib::PhreeqcIOData::Knobs::step_size

Definition at line 26 of file Knobs.h.

Referenced by operator<<.

◆ tolerance

double const ChemistryLib::PhreeqcIOData::Knobs::tolerance

Definition at line 25 of file Knobs.h.

Referenced by operator<<.


The documentation for this struct was generated from the following file: