Revision 299c7129e98defba256f4be4bada8458664266eb authored by Tobias Meisel on 04 May 2021, 07:45:25 UTC, committed by Dmitry Yu. Naumov on 11 May 2021, 19:02:42 UTC
1 parent 5304566
Knobs.cpp
/**
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "Knobs.h"
#include <ostream>
namespace ChemistryLib
{
namespace PhreeqcIOData
{
std::ostream& operator<<(std::ostream& os, Knobs const& knobs)
{
os << "KNOBS"
<< "\n";
os << "-iterations " << knobs.max_iterations << "\n";
os << "-convergence_tolerance " << knobs.relative_convergence_tolerance
<< "\n";
os << "-tolerance " << knobs.tolerance << "\n";
os << "-step_size " << knobs.step_size << "\n";
os << "-diagonal_scale " << knobs.scaling << "\n";
return os;
}
} // namespace PhreeqcIOData
} // namespace ChemistryLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...