Commit ba1e0d02 authored by Lukas Riedel's avatar Lukas Riedel

Use more verbose variable names in VTKWriter instantiation

parent ba62ac27
......@@ -57,9 +57,10 @@ RichardsSimulation<Traits>::RichardsSimulation (Dune::MPIHelper& _helper, std::s
operator_setup();
// --- Utility Class Setup --- //
const int sub_lvl = _inifile.get<int>("output.subsamplingLevel", 0);
const auto sub_int = Dune::refinementLevels(sub_lvl);
auto sub_vtk = std::make_shared<Dune::SubsamplingVTKWriter<GV>>(gv,sub_int);
const int subsamling_lvl = _inifile.get<int>("output.subsamplingLevel", 0);
const auto subsamling_intervals = Dune::refinementLevels(subsamling_lvl);
auto sub_vtk = std::make_shared<Dune::SubsamplingVTKWriter<GV>>(gv,
subsamling_intervals);
vtkwriter = std::make_unique<Writer>(sub_vtk,
inifile.get<std::string>("output.fileName"),
......
Markdown is supported
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