mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Add std::string overload for WellState::segments()
This commit is contained in:
1 parent
3fd6d7781b
commit
7d89c6e09c
1 file changed
+8
@@ -237,6 +237,14 @@ public:
|
||||
return this->segment_state[well_index];
|
||||
}
|
||||
|
||||
const SegmentState& segments(const std::string& wname) const {
|
||||
return this->segment_state[wname];
|
||||
}
|
||||
|
||||
SegmentState& segments(const std::string& wname) {
|
||||
return this->segment_state[wname];
|
||||
}
|
||||
|
||||
std::vector<double>& productivityIndex() {
|
||||
return productivity_index_;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user