Skip to content
Snippets Groups Projects
Commit 9a971778 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Adapt to post-2.6 SubsamplingVTKWriter syntax

parent 3d024e83
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -294,7 +294,7 @@ int main (int argc, char *argv[])
std::string baseName = "harmonicmaps-result-" + std::to_string(order) + "-" + std::to_string(numLevels);
SubsamplingVTKWriter<GridView> vtkWriter(gridView,order-1);
SubsamplingVTKWriter<GridView> vtkWriter(gridView,Dune::refinementLevels(order-1));
vtkWriter.addVertexData(xFunction, VTK::FieldInfo("orientation", VTK::FieldInfo::Type::vector, xEmbedded[0].size()));
vtkWriter.write(resultPath + baseName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment