mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4905 from vkip/allow_nowellmatch_with_lowstrictness
If parsing strictness is set to 'low', proceed (with warning) if no matching wells found
This commit is contained in:
commit
cd5ba003d8
@ -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