Commit d4d1ad00 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[params] introduce additional init method

parent 9e425be9
......@@ -191,6 +191,13 @@ public:
init(argc, argv, [] (Dune::ParameterTree&) {}, parameterFileName, usage);
}
//! Initialize the parameter tree singletons
static void init(int argc, char **argv,
const Usage& usage = [](const char *, const std::string &){})
{
init(argc, argv, [] (Dune::ParameterTree&) {}, "", usage);
}
//! Initialize the parameter tree singletons
static void init(int argc, char **argv,
const DefaultParams& defaultParams = [] (Dune::ParameterTree&) {},
......@@ -359,6 +366,9 @@ private:
// parameters in the vtk group
params["Vtk.AddVelocity"] = "false";
params["Vtk.AddProcessRank"] = "true";
// parameters in the mpfa group
params["Mpfa.Q"] = "0.0";
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment