Skip to content
Snippets Groups Projects
Commit e227f835 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Add a default constructor which sets rank to 0 and size to 1

[[Imported from SVN: r9899]]
parent e6b6990a
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,12 @@ namespace Dune { ...@@ -31,6 +31,12 @@ namespace Dune {
public: public:
/** \brief Empty constructor, for a single-process situation */
VTKFile()
: commRank_(0),
commSize_(1)
{}
/** \brief Constructor taking the communicator rank and size */ /** \brief Constructor taking the communicator rank and size */
VTKFile(int commRank, int commSize) VTKFile(int commRank, int commSize)
: commRank_(commRank), : commRank_(commRank),
......
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