mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove call to checkMissingFeatures
once is enough. as a bonus avoids deck usage in simulator
This commit is contained in:
parent
1424b8e859
commit
30eb7256bc
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user