From c1e686a3d62de7d4695ece66af3d86c7f37a8848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 3 Feb 2011 15:44:36 +0100 Subject: [PATCH] Removed check for wells, no longer necessary since we support them now. --- src/TPFACompressiblePressureSolver.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/TPFACompressiblePressureSolver.hpp b/src/TPFACompressiblePressureSolver.hpp index d410ccdc..2a73c3db 100644 --- a/src/TPFACompressiblePressureSolver.hpp +++ b/src/TPFACompressiblePressureSolver.hpp @@ -346,10 +346,6 @@ public: void explicitTransport(const double dt, double* cell_surfvols) { - if (wells_.number_of_wells != 0) { - throw std::runtime_error("Error in TPFACompressiblePressureSolver::explicitTransport(): " - "This function does not work with wells yet."); - } int np = 3; // Number of phases. well_t* wells = NULL;