swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: 5930c156413d1a86eb68c5781de6459a429083a6 authored by Wenqing Wang on 09 December 2021, 14:43:31 UTC
[Test/LIE] Update result with velocity orientation correction
Tip revision: 5930c15
Surface.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 <string>

#include "MeshLib/PropertyVector.h"

namespace ChemistryLib
{
namespace PhreeqcIOData
{
struct DensityBasedSurfaceSite
{
    DensityBasedSurfaceSite(std::string name_,
                            double const site_density_,
                            double const specific_surface_area_,
                            double const mass_)
        : name(std::move(name_)),
          site_density(site_density_),
          specific_surface_area(specific_surface_area_),
          mass(mass_)
    {
    }

    std::string const name;
    double const site_density;
    double const specific_surface_area;
    double const mass;
};

struct MoleBasedSurfaceSite
{
    MoleBasedSurfaceSite(std::string name_,
                         MeshLib::PropertyVector<double>* const molality_)
        : name(std::move(name_)), molality(molality_)
    {
    }

    std::string const name;
    MeshLib::PropertyVector<double>* molality;
};
}  // namespace PhreeqcIOData
}  // namespace ChemistryLib
back to top