Skip to content
Snippets Groups Projects
Commit 87780a15 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

name argument should be the filename, not some prefix

[[Imported from SVN: r8384]]
parent f148b5aa
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ class CosseratVTKWriter ...@@ -67,7 +67,7 @@ class CosseratVTKWriter
public: public:
static void write(const GridType& grid, static void write(const GridType& grid,
const std::vector<RigidBodyMotion<double,3> >& configuration, const std::vector<RigidBodyMotion<double,3> >& configuration,
const std::string& filePrefix) const std::string& filename)
{ {
typedef Dune::GeometryGrid<GridType,DeformationFunction<typename GridType::LeafGridView> > DeformedGridType; typedef Dune::GeometryGrid<GridType,DeformationFunction<typename GridType::LeafGridView> > DeformedGridType;
...@@ -102,7 +102,7 @@ public: ...@@ -102,7 +102,7 @@ public:
vtkWriter.addVertexData(vtkDirector); vtkWriter.addVertexData(vtkDirector);
} }
vtkWriter.write(filePrefix + "VTKGrid"); vtkWriter.write(filename);
} }
......
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