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

rod3d.cc: Update to newer dune-vtk syntax

parent 773ef8e9
No related branches found
No related tags found
1 merge request!163Improve Cosserat rod code
......@@ -241,9 +241,13 @@ int main (int argc, char *argv[]) try
// Output result
// //////////////////////////////
#if DUNE_VERSION_GTE(DUNE_VTK, 2, 10)
auto vtkWriter = Vtk::UnstructuredGridWriter(Vtk::LagrangeDataCollector(gridView,order));
#else
using DataCollector = Vtk::LagrangeDataCollector<GridView,order>;
DataCollector dataCollector(gridView);
VtkUnstructuredGridWriter<GridView,DataCollector> vtkWriter(gridView, Vtk::FormatTypes::ASCII);
#endif
// Make basis for R^3-valued data
using namespace Functions::BasisFactory;
......
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