From 87780a1501fb9de669b7aa0bc7bdff7c22f9013b Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 26 Jan 2012 19:02:34 +0000
Subject: [PATCH] name argument should be the filename, not some prefix

[[Imported from SVN: r8384]]
---
 dune/gfe/cosseratvtkwriter.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/gfe/cosseratvtkwriter.hh b/dune/gfe/cosseratvtkwriter.hh
index 42894b11..593266e6 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);
     
     }    
 
-- 
GitLab