Use extended sparsity pattern also of we add well contributions to the preconditioner.

This commit is contained in:
Markus Blatt 2018-03-07 13:54:21 +01:00
parent 01b25f27ed
commit e27fa72aee

View File

@ -179,7 +179,8 @@ public:
WellState wellStateDummy; //not used. Only passed to make the old interfaces happy 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(); ebosSimulator_.model().clearAuxiliaryModules();
auto auxMod = std::make_shared<WellConnectionAuxiliaryModule<TypeTag> >(schedule(), grid()); auto auxMod = std::make_shared<WellConnectionAuxiliaryModule<TypeTag> >(schedule(), grid());