20 DBUG(
"Create sigmoid property '{:s}'.",
name);
22 auto const steepness =
30 auto const lower_bound =
34 auto const upper_bound =
39 auto const independent_variable_str =
45 if (std::ranges::any_of(std::array{
"t",
"x",
"y",
"z"},
47 {
return independent_variable_str == v; }))
51 "In the sigmoid property '{:s}', the spatial/temporal independent "
52 "variable '{:s}' is not supported yet. Use a material variable "
53 "instead. See CreateSigmoid.cpp for how to re-enable "
54 "spatial/temporal independent variables.",
55 name, independent_variable_str);
58 auto const independent_variable =
61 return std::make_unique<Sigmoid>(
name, steepness, midpoint, lower_bound,
62 upper_bound, independent_variable);