mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use extended sparsity pattern also of we add well contributions to the preconditioner.
This commit is contained in:
parent
01b25f27ed
commit
e27fa72aee
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user