From 54f45eaba7055bac13e8418c9b3d846a12abda8c Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Fri, 19 Apr 2019 12:03:01 +0200 Subject: [PATCH] Remove unused member WellSegments::m_branch_number --- opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.hpp | 3 --- .../parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp | 4 ---- 2 files changed, 7 deletions(-) diff --git a/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.hpp b/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.hpp index 12b8d0ab2..23d7e2c4d 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.hpp +++ b/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.hpp @@ -35,7 +35,6 @@ namespace Opm { WellSegments() = default; std::string wellName() const; - int numberBranch() const; int size() const; double depthTopSegment() const; double lengthTopSegment() const; @@ -66,8 +65,6 @@ namespace Opm { // name of the well std::string m_well_name; - // number of the branches - int m_number_branch; // depth of the nodal point of the top segment // it is taken as the BHP reference depth of the well // BHP reference depth data from elsewhere will be ignored for multi-segmented wells diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp index 5a13e5c99..1ceef21ea 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/MSW/WellSegments.cpp @@ -39,9 +39,6 @@ namespace Opm { return m_well_name; } - int WellSegments::numberBranch() const { - return m_number_branch; - } int WellSegments::size() const { return m_segments.size(); @@ -397,7 +394,6 @@ namespace Opm { bool WellSegments::operator==( const WellSegments& rhs ) const { return this->m_well_name == rhs.m_well_name - && this->m_number_branch == rhs.m_number_branch && this->m_depth_top == rhs.m_depth_top && this->m_length_top == rhs.m_length_top && this->m_volume_top == rhs.m_length_top