swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: 62e3026096dd1d9047debf05fbde01f7cdae5c9e authored by Lars Bilke on 15 November 2021, 14:11:28 UTC
Merge branch 'petsc-runtime-fix' into 'master'
Tip revision: 62e3026
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