Use network pressures from restart

This commit is contained in:
Vegard Kippe
2023-10-30 23:26:35 +01:00
parent 8aa035f174
commit c9cc261891
2 changed files with 24 additions and 12 deletions

View File

@@ -154,6 +154,11 @@ namespace {
std::move(python), outputInterval, init_state);
}
// Read network pressures from restart
if (rst_state.network.isActive()) {
eclipseState.loadRestartNetworkPressures(rst_state.network);
}
udqState = std::make_unique<Opm::UDQState>
((*schedule)[0].udq().params().undefinedValue());
udqState->load_rst(rst_state);