mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Warn the user for TUNING and --enable-tuning
This commit is contained in:
1 parent
b361ac83c4
commit
e788a8fe67
1 file changed
+11
@@ -435,6 +435,17 @@ public:
|
||||
simulator.model().applyInitialSolution();
|
||||
FlowProblemType::writeOutput(true);
|
||||
}
|
||||
|
||||
if (!eclState.getIOConfig().initOnly()) {
|
||||
if (!this->enableTuning_ && eclState.getSimulationConfig().anyTUNING()) {
|
||||
OpmLog::info("\nThe deck has TUNING in the SCHEDULE section, but "
|
||||
"it is ignored due\nto the flag --enable-tuning=false. "
|
||||
"Set this flag to true to activate it.\n"
|
||||
"Manually tuning the simulator with the TUNING keyword may "
|
||||
"increase run time.\nIt is recommended using the simulator's "
|
||||
"default tuning (--enable-tuning=false).");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user