Merge pull request #1503 from joakim-hove/wellsegments-alt-cons

Simplify WellSegments serialization construction
This commit is contained in:
Joakim Hove
2020-02-25 08:31:30 +01:00
committed by GitHub
2 changed files with 4 additions and 10 deletions

View File

@@ -64,8 +64,7 @@ namespace Opm {
WellSegments() = default;
WellSegments(const DeckKeyword& keyword);
WellSegments(CompPressureDrop compDrop,
const std::vector<Segment>& segments,
const std::map<int,int>& segmentNumberIdx);
const std::vector<Segment>& segments);
std::size_t size() const;
double depthTopSegment() const;
@@ -92,7 +91,6 @@ namespace Opm {
// it returns true if there is no error encountered during the update
bool updateWSEGSICD(const std::vector<std::pair<int, SpiralICD> >& sicd_pairs);
const std::vector<Segment>& segments() const;
const std::map<int,int>& segmentNumberIndex() const;
bool updateWSEGVALV(const std::vector<std::pair<int, Valve> >& valve_pairs);