https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 8ede7cb6d211c15425382c4e6c1d41a43917ac68 authored by Dmitri Naumov on 19 March 2021, 16:29:28 UTC
[PL/BC] Replace two members with specialized class
Tip revision: 8ede7cb
Knobs.h
/**
 * \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
 *
 */

#pragma once

#include <iosfwd>

namespace ChemistryLib
{
namespace PhreeqcIOData
{
struct Knobs
{
    friend std::ostream& operator<<(std::ostream& os, Knobs const& knobs);

    int const max_iterations;
    double const relative_convergence_tolerance;
    double const tolerance;
    int const step_size;
    bool const scaling;
};
}  // namespace PhreeqcIOData
}  // namespace ChemistryLib
back to top