OGS
CreateCurve.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 Curve;
23
24std::unique_ptr<Curve> createCurve(
25 BaseLib::ConfigTree const& config,
26 std::map<std::string,
27 std::unique_ptr<MathLib::PiecewiseLinearInterpolation>> const&
28 curves);
29} // namespace MaterialPropertyLib
std::unique_ptr< Curve > createCurve(BaseLib::ConfigTree const &config, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves)