begin the class WellStateMSWell

it will be for each individual MS well.
it is kind of the start of the refactoring of the WellState.
This commit is contained in:
Kai Bao
2017-08-28 17:30:22 +02:00
parent 359de15f2b
commit b5323b1b79
3 changed files with 159 additions and 3 deletions

View File

@@ -135,6 +135,12 @@ namespace Opm
virtual void updatePrimaryVariables(const WellState& well_state) const;
/// number of segments for this well
/// int number_of_segments_;
int numberOfSegments() const;
int numberOfPerforations() const;
protected:
int number_segments_;
@@ -157,9 +163,6 @@ namespace Opm
// TODO: trying to use the information from the Well opm-parser as much
// as possible, it will possibly be re-implemented later for efficiency reason.
// number of segments for this well
// int number_of_segments_;
int numberOfSegments() const;
// indices of the gird blocks that segments locate at.
// TODO: the grid cell related to a segment should be calculated based on the location