mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Setup logging before the simulator is initialized (#1980)
Setup logging before the simulator is initialized
This commit is contained in:
@@ -72,7 +72,7 @@ void flowEbosOilWaterSetDeck(double setupTime, Deck &deck, EclipseState& eclStat
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosOilWaterMain(int argc, char** argv)
|
||||
int flowEbosOilWaterMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
{
|
||||
// we always want to use the default locale, and thus spare us the trouble
|
||||
// with incorrect locale settings.
|
||||
@@ -85,7 +85,7 @@ int flowEbosOilWaterMain(int argc, char** argv)
|
||||
#endif
|
||||
|
||||
Opm::FlowMainEbos<TTAG(EclFlowOilWaterProblem)> mainfunc;
|
||||
return mainfunc.execute(argc, argv);
|
||||
return mainfunc.execute(argc, argv, outputCout, outputFiles);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user