Connections / segments: retain start and end from restart

This commit is contained in:
Joakim Hove
2020-03-26 20:42:00 +01:00
parent d827fd6da5
commit 7bc5272290
3 changed files with 3 additions and 13 deletions

View File

@@ -2968,13 +2968,9 @@ void Schedule::load_rst(const RestartIO::RstState& rst_state, const EclipseGrid&
for (auto& connection : connections) {
int segment_id = connection.segment();
if (segment_id > 0) {
double segment_start = 0;
double segment_end = 0;
const auto& segment = segments.at(segment_id);
connection.updateSegmentRST(segment.segmentNumber(),
segment.depth(),
segment_start,
segment_end);
segment.depth());
}
}