Remove EclStrictParsing, replace with ParsingStrictness.

The new parameter takes the "high", "normal" (default), or "low" string.
Also implemented behaviour.
This commit is contained in:
Atgeirr Flø Rasmussen
2023-04-25 12:03:13 +02:00
parent 04d2b8f39d
commit 9ca6034388
7 changed files with 26 additions and 19 deletions

View File

@@ -171,7 +171,7 @@ void Main::readDeck(const std::string& deckFilename,
const std::string& outputMode,
const bool init_from_restart_file,
const bool allRanksDbgPrtLog,
const bool strictParsing,
const std::string& parsingStrictness,
const int mpiRank,
const int output_param,
const std::string& parameters,
@@ -202,7 +202,7 @@ void Main::readDeck(const std::string& deckFilename,
wtestState_,
summaryConfig_,
std::make_shared<Python>(),
strictParsing,
parsingStrictness,
init_from_restart_file,
outputCout_,
outputInterval);

View File

@@ -374,7 +374,7 @@ private:
EWOMS_GET_PARAM(PreTypeTag, std::string, OutputMode),
!EWOMS_GET_PARAM(PreTypeTag, bool, SchedRestart),
EWOMS_GET_PARAM(PreTypeTag, bool, EnableLoggingFalloutWarning),
EWOMS_GET_PARAM(PreTypeTag, bool, EclStrictParsing),
EWOMS_GET_PARAM(PreTypeTag, std::string, ParsingStrictness),
mpiRank,
EWOMS_GET_PARAM(PreTypeTag, int, EclOutputInterval),
cmdline_params,
@@ -626,7 +626,7 @@ private:
const std::string& outputMode,
const bool init_from_restart_file,
const bool allRanksDbgPrtLog,
const bool strictParsing,
const std::string& parsingStrictness,
const int mpiRank,
const int output_param,
const std::string& parameters,