Utilize private restartconfig

This commit is contained in:
Joakim Hove
2021-03-07 09:31:10 +01:00
parent 4ed085ddc3
commit 9ad5d69744
3 changed files with 6 additions and 7 deletions

View File

@@ -1417,7 +1417,7 @@ namespace Opm {
computeAverageFormationFactor(B_avg);
const Opm::SummaryConfig& summaryConfig = ebosSimulator_.vanguard().summaryConfig();
const bool write_restart_file = ebosSimulator_.vanguard().schedule().restart().getWriteRestartFile(reportStepIdx);
const bool write_restart_file = ebosSimulator_.vanguard().schedule().write_rst_file(reportStepIdx);
int exception_thrown = 0;
for (const auto& well : well_container_) {
const bool needed_for_summary = ((summaryConfig.hasSummaryKey( "WWPI:" + well->name()) ||