bring setWSolvent closer to original code

by introducing a getter for generic wells
This commit is contained in:
Arne Morten Kvarving
2021-06-07 13:04:29 +02:00
parent 60e7c90b1e
commit c5fae280f3
4 changed files with 20 additions and 13 deletions

View File

@@ -243,7 +243,6 @@ protected:
void setWsolvent(const Group& group,
const int reportStepIdx,
double wsolvent);
virtual void setWellWsolvent(const std::string& name, double wsolvent) = 0;
virtual void calcRates(const int fipnum,
const int pvtreg,
std::vector<double>& resv_coeff) = 0;
@@ -369,6 +368,9 @@ protected:
WGState active_wgstate_;
WGState last_valid_wgstate_;
WGState nupcol_wgstate_;
private:
WellInterfaceGeneric* getGenWell(const std::string& well_name);
};