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

This commit is contained in:
hnil authored and Atgeirr Flø Rasmussen committed 2022-06-08 17:02:02 +02:00
1 parent 4975d5d9e7
commit c697e70a69
2 files changed
+8 -1

No files matched your search

+3 -1
View File
@@ -100,7 +100,9 @@ public:
} }
int getNumberOfExtraEquations() const override int getNumberOfExtraEquations() const override
{ {
return wellMod_.numLocalWells(); //return wellMod_.numLocalWells();
//return wellMod_.localNonshutWells().size();
return wellMod_.numLocalNonshutWells();
} }
private: private:
@@ -318,6 +318,11 @@ namespace Opm {
return well_container_; return well_container_;
} }
int numLocalNonshutWells() const
{
return well_container_.size();
}
protected: protected:
Simulator& ebosSimulator_; Simulator& ebosSimulator_;