https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 144ece5aa0d1cee83fa8c4b5dbf409551306f328 authored by Lars Bilke on 19 May 2021, 13:34:11 UTC
Merge branch 'ci-container-runtime-check' into 'master'
Tip revision: 144ece5
CreateViscosityModel.h
/**
 *  \brief A function for creating viscosity model
 *
 *  \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
 *
 *   \file
 */

#pragma once

#include <memory>

#include "BaseLib/ConfigTree.h"

#include "MaterialLib/Fluid/FluidProperty.h"

namespace MaterialLib
{
namespace Fluid
{
///  Create a viscosity model
///  \param config  ConfigTree object has a tag of `<viscosity>`
std::unique_ptr<FluidProperty> createViscosityModel(
    BaseLib::ConfigTree const& config);

}  // end namespace
}  // namespace MaterialLib
back to top