diff --git a/dune/gfe/cosseratvtkwriter.hh b/dune/gfe/cosseratvtkwriter.hh index 42894b11ac920fdc4a38d0a2c541decbe7d71771..593266e69e100335364e89c450f6f27aaa0eb04f 100644 --- a/dune/gfe/cosseratvtkwriter.hh +++ b/dune/gfe/cosseratvtkwriter.hh @@ -67,7 +67,7 @@ class CosseratVTKWriter public: static void write(const GridType& grid, const std::vector<RigidBodyMotion<double,3> >& configuration, - const std::string& filePrefix) + const std::string& filename) { typedef Dune::GeometryGrid<GridType,DeformationFunction<typename GridType::LeafGridView> > DeformedGridType; @@ -102,7 +102,7 @@ public: vtkWriter.addVertexData(vtkDirector); } - vtkWriter.write(filePrefix + "VTKGrid"); + vtkWriter.write(filename); }