swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: c1acfe6667ee1b45c86b56581b0dc178515e8b67 authored by Dmitri Naumov on 01 August 2021, 11:31:06 UTC
[MaL] Constify ctor args, format docu.
Tip revision: c1acfe6
Exchange.h
/**
 * \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
 *
 */

#pragma once

#include <iosfwd>
#include <string>
#include <vector>

#include "MeshLib/PropertyVector.h"

namespace BaseLib
{
class ConfigTree;
}

namespace ChemistryLib
{
namespace PhreeqcIOData
{
struct ExchangeSite
{
    ExchangeSite(std::string name_, MeshLib::PropertyVector<double>* molality_)
        : name(std::move(name_)), molality(molality_)
    {
    }

    void print(std::ostream& os, std::size_t const chemical_system_id) const;

    std::string const name;
    MeshLib::PropertyVector<double>* molality;
};

}  // namespace PhreeqcIOData
}  // namespace ChemistryLib
back to top