From e227f835a3b71b7fd8ff635252f9bc69ee9a0b3d Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 30 Sep 2014 17:55:31 +0000
Subject: [PATCH] Add a default constructor which sets rank to 0 and size to 1

[[Imported from SVN: r9899]]
---
 dune/gfe/vtkfile.hh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dune/gfe/vtkfile.hh b/dune/gfe/vtkfile.hh
index 02bf95a8..ec9090f6 100644
--- a/dune/gfe/vtkfile.hh
+++ b/dune/gfe/vtkfile.hh
@@ -31,6 +31,12 @@ namespace Dune {
 
     public:
 
+      /** \brief Empty constructor, for a single-process situation */
+      VTKFile()
+      : commRank_(0),
+        commSize_(1)
+      {}
+
       /** \brief Constructor taking the communicator rank and size */
       VTKFile(int commRank, int commSize)
       : commRank_(commRank),
-- 
GitLab