23 std::optional<BaseLib::ConfigTree>
const& config,
MeshLib::Mesh const& mesh)
30 std::vector<SecondaryVariable> secondary_variables;
31 for (
auto const& variable_name :
33 config->getConfigParameter<std::vector<std::string>>(
"headline"))
40 std::fill(std::begin(*value),
42 std::numeric_limits<double>::quiet_NaN());
44 secondary_variables.emplace_back(variable_name, value);
47 std::vector<std::string> statements;
48 for (
auto const& statement :
50 config->getConfigParameterList<std::string>(
"statement"))
52 statements.emplace_back(statement);
55 return std::make_unique<UserPunch>(std::move(secondary_variables),
56 std::move(statements));