swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: c595ff6484876fe2f664385130673126deb091ea authored by Thomas Nagel on 15 July 2021, 12:45:12 UTC
Adapted anisotropic MCAS to new TFEL
Tip revision: c595ff6
EquilibriumReactant.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 "EquilibriumReactant.h"

#include <ostream>

namespace ChemistryLib
{
namespace PhreeqcIOData
{
void EquilibriumReactant::print(std::ostream& os,
                                std::size_t const chemical_system_id) const
{
    os << name << " " << saturation_index << " "
       << (*molality)[chemical_system_id] << " " << reaction_irreversibility << "\n";
}
}  // namespace PhreeqcIOData
}  // namespace ChemistryLib
back to top