From 8ac62545cf47a55df5012984628c686d705ebcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Fri, 9 Mar 2012 14:25:52 +0100 Subject: [PATCH] Added default constructor. --- opm/core/WellsManager.cpp | 8 ++++++++ opm/core/WellsManager.hpp | 3 +++ 2 files changed, 11 insertions(+) diff --git a/opm/core/WellsManager.cpp b/opm/core/WellsManager.cpp index a933306b8..f864d2d64 100644 --- a/opm/core/WellsManager.cpp +++ b/opm/core/WellsManager.cpp @@ -171,6 +171,14 @@ namespace Opm { + /// Default constructor. + WellsManager::WellsManager() + : w_(0) + { + } + + + /// Construct wells from deck. WellsManager::WellsManager(const Opm::EclipseGridParser& deck, const UnstructuredGrid& grid, diff --git a/opm/core/WellsManager.hpp b/opm/core/WellsManager.hpp index 2562143f9..bda2a8cec 100644 --- a/opm/core/WellsManager.hpp +++ b/opm/core/WellsManager.hpp @@ -38,6 +38,9 @@ namespace Opm class WellsManager { public: + /// Default constructor -- no wells. + WellsManager(); + /// Construct from input deck and grid. /// The permeability argument may be zero if the input contain /// well productivity indices, otherwise it must be given in