Respect low parsing strictness when reprocessing the schedule section after action application.

This commit is contained in:
Vegard Kippe 2024-02-21 17:02:33 +01:00
parent 283086edeb
commit cd1b0f808b

View File

@ -557,6 +557,7 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
auto parseContext = setupParseContext(exitOnAllErrors);
if (treatCriticalAsNonCritical) { // Continue with invalid names if parsing strictness is set to low
parseContext->update(ParseContext::SCHEDULE_INVALID_NAME, InputErrorAction::WARN);
schedule->treat_critical_as_non_critical(true);
}
readOnIORank(comm, deckFilename, parseContext.get(),
eclipseState, schedule, udqState, actionState, wtestState,