removing well_soltutions_ from WellStateFullyImplicitBlackoilDense

adding function setWellSolutions() to StandardWell.

The class WellStateFullyImplicitBlackoilDense is ready to be removed
now, while the only thing can go wrong compred with the original version
is the group control, which is not tested yet.
This commit is contained in:
Kai Bao
2017-08-07 17:49:35 +02:00
parent 8441eb77bd
commit 5af15fa63f
7 changed files with 117 additions and 197 deletions

View File

@@ -104,7 +104,7 @@ namespace Opm
const double gravity_arg,
const int num_cells);
virtual void setWellVariables(const WellState& well_state) = 0;
virtual void setWellVariables() = 0;
virtual bool getWellConvergence(Simulator& ebosSimulator,
const std::vector<double>& B_avg,
@@ -153,6 +153,8 @@ namespace Opm
virtual void updateWellControl(WellState& xw) const = 0;
virtual void setWellSolutions(const WellState& well_state) const = 0;
protected:
const std::vector<bool>& active() const;