From dec0e60bd4835f872d9119505b993b7bf43c59fb Mon Sep 17 00:00:00 2001 From: Kjetil Olsen Lye Date: Fri, 15 Jun 2012 15:16:32 +0200 Subject: [PATCH] Removed errors on trying to open a shut well (or shut an open well). --- opm/core/wells/WellsManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/wells/WellsManager.cpp b/opm/core/wells/WellsManager.cpp index 2f8eb455e..40a348946 100644 --- a/opm/core/wells/WellsManager.cpp +++ b/opm/core/wells/WellsManager.cpp @@ -693,11 +693,11 @@ namespace Opm } int index = it->second; if (line.openshutflag_ == "SHUT") { - // We don't open already open wells + // We currently don't care if the well is open or not. /// \TODO Should this perhaps be allowed? I.e. should it be if(well_shut) { shutwell(); } else { /* do nothing*/ }? - ASSERT(w_->ctrls[index]->current < 0); + //ASSERT(w_->ctrls[index]->current < 0); } else if (line.openshutflag_ == "OPEN") { - ASSERT(w_->ctrls[index]->current >= 0); + //ASSERT(w_->ctrls[index]->current >= 0); } else { THROW("Unknown Open/close keyword: \"" << line.openshutflag_<< "\". Allowed values: OPEN, SHUT."); }