From e27fa72aee358813106c8615fe0b71cf9237a9ba Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Wed, 7 Mar 2018 13:54:21 +0100 Subject: [PATCH] Use extended sparsity pattern also of we add well contributions to the preconditioner. --- opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp b/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp index 08aa61335..4c806f7a0 100644 --- a/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp +++ b/opm/autodiff/SimulatorFullyImplicitBlackoilEbos.hpp @@ -179,7 +179,8 @@ public: WellState wellStateDummy; //not used. Only passed to make the old interfaces happy - if ( model_param_.matrix_add_well_contributions_ ) + if ( model_param_.matrix_add_well_contributions_ || + model_param_.preconditioner_add_well_contributions_ ) { ebosSimulator_.model().clearAuxiliaryModules(); auto auxMod = std::make_shared >(schedule(), grid());