18 std::string
const& name,
21 std::unique_ptr<MathLib::PiecewiseLinearInterpolation>>
const&
29 DBUG(
"Using curve {:s}", curve_name);
31 auto const curve_it = curves.find(curve_name);
32 if (curve_it == curves.end())
34 OGS_FATAL(
"Curve `{:s}' does not exists.", curve_name);
37 auto referenced_parameter_name =
40 DBUG(
"Using parameter {:s}", referenced_parameter_name);
43 return std::make_unique<CurveScaledParameter<double>>(
44 name, *curve_it->second, referenced_parameter_name);