mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Set SCHEDULE_INVALID_NAME to warning with --parsing-strictness=low
This commit is contained in:
parent
16c8184e3f
commit
194bf9d6af
@ -527,6 +527,9 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
|
||||
const bool treatCriticalAsNonCritical = (parsingStrictness == "low");
|
||||
try {
|
||||
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);
|
||||
}
|
||||
readOnIORank(comm, deckFilename, parseContext.get(),
|
||||
eclipseState, schedule, udqState, actionState, wtestState,
|
||||
summaryConfig, std::move(python), initFromRestart,
|
||||
|
Loading…
Reference in New Issue
Block a user