From 30eb7256bc9c91df7a6c4b4d03d0398ac87ed1aa Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 23 Mar 2020 15:46:04 +0100 Subject: [PATCH] remove call to checkMissingFeatures once is enough. as a bonus avoids deck usage in simulator --- opm/simulators/flow/FlowMainEbos.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/opm/simulators/flow/FlowMainEbos.hpp b/opm/simulators/flow/FlowMainEbos.hpp index 4f80ec0b2..4d39376fc 100644 --- a/opm/simulators/flow/FlowMainEbos.hpp +++ b/opm/simulators/flow/FlowMainEbos.hpp @@ -26,7 +26,6 @@ #include #include -#include #include #include #include @@ -254,7 +253,7 @@ namespace Opm return status; setupParallelism(); - setupEbosSimulator(output_cout); + setupEbosSimulator(); runDiagnostics(output_cout); createSimulator(); @@ -385,17 +384,13 @@ namespace Opm EWOMS_GET_PARAM(TypeTag, bool, EnableLoggingFalloutWarning))); } - void setupEbosSimulator(bool output_cout) + void setupEbosSimulator() { ebosSimulator_.reset(new EbosSimulator(/*verbose=*/false)); ebosSimulator_->executionTimer().start(); ebosSimulator_->model().applyInitialSolution(); try { - if (output_cout) { - MissingFeatures::checkKeywords(deck()); - } - // Possible to force initialization only behavior (NOSIM). const std::string& dryRunString = EWOMS_GET_PARAM(TypeTag, std::string, EnableDryRun); if (dryRunString != "" && dryRunString != "auto") {