Skip to content

Commit 71144f7

Browse files
committed
Enable Saving Segment Related Information In Runtime Connections
In particular, create data members for storing the segment number and the tubing lengths. It is likely that we'll need to amend this information as need arises.
1 parent 4be866b commit 71144f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

opm/simulators/wells/RuntimePerforation.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ struct RuntimePerforation
3535

3636
/// Depth at which the new connection is created.
3737
double depth{};
38+
39+
/// Segment number (1-based), if applicable (MS well).
40+
int segment{};
41+
42+
/// MD start/end along branch if applicable (MS well).
43+
std::optional<std::pair<double, double>> perf_range{};
3844
};
3945

4046
} // namespace Opm

0 commit comments

Comments
 (0)