24 std::unique_ptr<MathLib::PiecewiseLinearInterpolation>>
const&
34 DBUG(
"Create Curve {:s}.", property_name);
38 DBUG(
"Using curve '{:s}'", curve_name);
43 auto const independent_variable_string =
46 DBUG(
"Using independent_variable '{:s}'", independent_variable_string);
47 auto const independent_variable =
49 independent_variable_string);
51 return std::make_unique<Curve>(
52 std::move(property_name), independent_variable, curve);
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the PiecewiseLinearInterpolation class.
T peekConfigParameter(std::string const ¶m) const
T getConfigParameter(std::string const ¶m) const
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
OGS_NO_DANGLING Map::mapped_type & getOrError(Map &map, Key const &key, std::string const &error_message)
std::unique_ptr< Curve > createCurve(BaseLib::ConfigTree const &config, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves)
Variable convertStringToVariable(std::string const &string)