https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 62cdb0365dc92f63f8cdedc0a86108006f42674a authored by Tom Fischer on 15 December 2022, 18:03:13 UTC
Merge branch 'AccelerateConvertToLinearMesh2' into 'master'
Tip revision: 62cdb03
createPermeabilityModel.h
/**
 * \copyright
 * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 * \file
 *
 * Created on August 17, 2016, 2:36 PM
 */

#pragma once

#include <memory>

#include "Permeability.h"

namespace BaseLib
{
class ConfigTree;
}

namespace MaterialLib
{
namespace PorousMedium
{
/** Create a porosity model
 * @param config  ConfigTree object has a tag of `<permeability>` that
 * describes the permeability relationsship and contains the name of the
 * parameter
 * @param parameters a vector containing the available parameters
 */
std::unique_ptr<Permeability> createPermeabilityModel(
    BaseLib::ConfigTree const& config,
    std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
        parameters);

}  // namespace PorousMedium
}  // namespace MaterialLib
back to top