changed definition of extra equations. made norne go to step 27. HACK

This commit is contained in:
hnil 2022-04-01 22:34:54 +02:00 committed by Atgeirr Flø Rasmussen
parent 4975d5d9e7
commit c697e70a69
2 changed files with 8 additions and 1 deletions

View File

@ -100,7 +100,9 @@ public:
}
int getNumberOfExtraEquations() const override
{
return wellMod_.numLocalWells();
//return wellMod_.numLocalWells();
//return wellMod_.localNonshutWells().size();
return wellMod_.numLocalNonshutWells();
}
private:

View File

@ -318,6 +318,11 @@ namespace Opm {
return well_container_;
}
int numLocalNonshutWells() const
{
return well_container_.size();
}
protected:
Simulator& ebosSimulator_;