Commit 9dc50b73 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

use explicit refinementIntervals in subsampling vtk writer

parent b36ec724
......@@ -78,7 +78,7 @@ namespace AMDiS
auto subSampling = Parameters::get<int>(name + "->subsampling");
if (subSampling) {
using SubsamplingWriter = Dune::SubsamplingVTKWriter<GridView>;
vtkWriter_ = std::make_shared<SubsamplingWriter>(gridView, subSampling.value());
vtkWriter_ = std::make_shared<SubsamplingWriter>(gridView, Dune::refinementIntervals(subSampling.value()));
} else {
vtkWriter_ = std::make_shared<Writer>(gridView);
}
......
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