From 92bdcbf5975023e58205608aa0ebbbeffaa44925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 3 Sep 2020 14:07:33 +0200 Subject: [PATCH] Reinstate lost logging of header and parameters. Also re-add the ability to do strict parsing. --- opm/simulators/flow/Main.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index 100118323..c375ac497 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -432,6 +432,10 @@ namespace Opm {Opm::ParseContext::PARSE_MISSING_DIMS_KEYWORD, Opm::InputError::WARN}, {Opm::ParseContext::SUMMARY_UNKNOWN_WELL, Opm::InputError::WARN}, {Opm::ParseContext::SUMMARY_UNKNOWN_GROUP, Opm::InputError::WARN}}); + if (EWOMS_GET_PARAM(PreTypeTag, bool, EclStrictParsing)) + parseContext->update(Opm::InputError::DELAYED_EXIT1); + + Opm::FlowMainEbos::printPRTHeader(outputCout_); readDeck(mpiRank, deckFilename, deck_, eclipseState_, schedule_, summaryConfig_, nullptr, python, std::move(parseContext),