Commit e112047f authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/subsampling_vtk_writer' into 'master'

use explicit refinement Intervals in subsampling vtk writer

See merge request !168
parents b36ec724 9dc50b73
......@@ -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