OGS
CreateFunction.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <map>
7#include <memory>
8#include <string>
9
10namespace BaseLib
11{
12class ConfigTree;
13}
14
15namespace MathLib
16{
18}
19
20namespace MaterialPropertyLib
21{
22class Function;
23}
24
25namespace MaterialPropertyLib
26{
27std::unique_ptr<Function> createFunction(
28 BaseLib::ConfigTree const& config,
29 std::map<std::string,
30 std::unique_ptr<MathLib::PiecewiseLinearInterpolation>> const&
31 curves);
32} // namespace MaterialPropertyLib
std::unique_ptr< Function > createFunction(BaseLib::ConfigTree const &config, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves)