27 DBUG(
"Create Linear property {:s}.", property_name);
28 auto const reference_value =
32 std::vector<MaterialPropertyLib::IndependentVariable> ivs;
33 for (
auto const& independent_variable_config :
37 auto const& variable_name =
39 independent_variable_config.getConfigParameter<std::string>(
41 auto const reference_condition =
43 independent_variable_config.getConfigParameter<
double>(
44 "reference_condition");
47 independent_variable_config.getConfigParameter<
double>(
"slope");
55 ivs.push_back(std::move(iv));
58 return std::make_unique<MaterialPropertyLib::Linear>(
59 std::move(property_name), reference_value, ivs);
void DBUG(char const *fmt, Args const &... args)
T peekConfigParameter(std::string const ¶m) const
void checkConfigParameter(std::string const ¶m, T const &value) const
T getConfigParameter(std::string const ¶m) const
Range< SubtreeIterator > getConfigSubtreeList(std::string const &root) const
Variable convertStringToVariable(std::string const &string)
std::unique_ptr< Linear > createLinear(BaseLib::ConfigTree const &config)