29 DBUG(
"Create Linear property {:s}.", property_name);
30 auto const reference_value =
34 std::vector<MaterialPropertyLib::IndependentVariable> ivs;
35 for (
auto const& independent_variable_config :
39 auto const& variable_name =
41 independent_variable_config.getConfigParameter<std::string>(
43 auto const reference_condition =
45 independent_variable_config.getConfigParameter<
double>(
46 "reference_condition");
49 independent_variable_config.getConfigParameter<
double>(
"slope");
53 independent_variable_config.getConfigParameterOptional<
double>(
58 independent_variable_config.getConfigParameterOptional<
double>(
61 static const std::unordered_set<std::string> filter_not_variables = {
64 if (!filter_not_variables.contains(variable_name))
76 ivs.push_back(std::move(iv));
79 return std::make_unique<MaterialPropertyLib::Linear>(
80 std::move(property_name), reference_value, ivs);