remove call to checkMissingFeatures

once is enough. as a bonus avoids deck usage in simulator
This commit is contained in:
Arne Morten Kvarving 2020-03-23 15:46:04 +01:00
parent 1424b8e859
commit 30eb7256bc

View File

@ -26,7 +26,6 @@
#include <sys/utsname.h>
#include <opm/simulators/flow/BlackoilModelEbos.hpp>
#include <opm/simulators/flow/MissingFeatures.hpp>
#include <opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp>
#include <opm/simulators/utils/ParallelFileMerger.hpp>
#include <opm/simulators/utils/moduleVersion.hpp>
@ -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") {