FlowMain.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013, 2014, 2015 SINTEF ICT, Applied Mathematics.
3 Copyright 2014 Dr. Blatt - HPC-Simulation-Software & Services
4 Copyright 2015 IRIS AS
5 Copyright 2014 STATOIL ASA.
6
7 This file is part of the Open Porous Media project (OPM).
8
9 OPM is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 OPM is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with OPM. If not, see <http://www.gnu.org/licenses/>.
21*/
22#ifndef OPM_FLOW_MAIN_HEADER_INCLUDED
23#define OPM_FLOW_MAIN_HEADER_INCLUDED
24
25#include <opm/input/eclipse/EclipseState/EclipseState.hpp>
26#include <opm/input/eclipse/EclipseState/IOConfig/IOConfig.hpp>
27#include <opm/input/eclipse/EclipseState/InitConfig/InitConfig.hpp>
28
29#include <opm/models/utils/start.hh>
30
34
35#if HAVE_DUNE_FEM
36#include <dune/fem/misc/mpimanager.hh>
37#else
38#include <dune/common/parallel/mpihelper.hh>
39#endif
40
41#include <cstddef>
42#include <memory>
43
44namespace Opm::Properties {
45
46template<class TypeTag, class MyTypeTag>
48 using type = UndefinedProperty;
49};
50template<class TypeTag, class MyTypeTag>
52 using type = UndefinedProperty;
53};
54template<class TypeTag, class MyTypeTag>
56 using type = UndefinedProperty;
57};
58
59// TODO: enumeration parameters. we use strings for now.
60template<class TypeTag>
61struct EnableDryRun<TypeTag, TTag::FlowProblem> {
62 static constexpr auto value = "auto";
63};
64// Do not merge parallel output files or warn about them
65template<class TypeTag>
67 static constexpr bool value = false;
68};
69template<class TypeTag>
70struct OutputInterval<TypeTag, TTag::FlowProblem> {
71 static constexpr int value = 1;
72};
73
74} // namespace Opm::Properties
75
76namespace Opm {
77
78 class Deck;
79
80 // The FlowMain class is the black-oil simulator.
81 template <class TypeTag>
83 {
84 public:
85 using MaterialLawManager = typename GetProp<TypeTag, Properties::MaterialLaw>::EclMaterialLawManager;
86 using ModelSimulator = GetPropType<TypeTag, Properties::Simulator>;
87 using Grid = GetPropType<TypeTag, Properties::Grid>;
88 using GridView = GetPropType<TypeTag, Properties::GridView>;
89 using Problem = GetPropType<TypeTag, Properties::Problem>;
90 using Scalar = GetPropType<TypeTag, Properties::Scalar>;
91 using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
92
94
95 FlowMain(int argc, char **argv, bool output_cout, bool output_files )
96 : argc_{argc}, argv_{argv},
97 output_cout_{output_cout}, output_files_{output_files}
98 {
99
100 }
101
102 // Read the command line parameters. Throws an exception if something goes wrong.
103 static int setupParameters_(int argc, char** argv, Parallel::Communication comm)
104 {
105 using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>;
106 if (!ParamsMeta::registrationOpen()) {
107 // We have already successfully run setupParameters_().
108 // For the dynamically chosen runs (as from the main flow
109 // executable) we must run this function again with the
110 // real typetag to be used, as the first time was with the
111 // "FlowEarlyBird" typetag. However, for the static ones (such
112 // as 'flow_onephase_energy') it has already been run with the
113 // correct typetag.
114 return EXIT_SUCCESS;
115 }
116 // register the flow specific parameters
117 Parameters::registerParam<TypeTag, Properties::EnableDryRun>
118 ("Specify if the simulation ought to be actually run, or just pretended to be");
119 Parameters::registerParam<TypeTag, Properties::OutputInterval>
120 ("Specify the number of report steps between two consecutive writes of restart data");
121 Parameters::registerParam<TypeTag, Properties::EnableLoggingFalloutWarning>
122 ("Developer option to see whether logging was on non-root processors. "
123 "In that case it will be appended to the *.DBG or *.PRT files");
124
126
127 // register the base parameters
128 registerAllParameters_<TypeTag>(/*finalizeRegistration=*/false);
129
130 // hide the parameters unused by flow. TODO: this is a pain to maintain
131 Parameters::hideParam<TypeTag, Properties::EnableGravity>();
132 Parameters::hideParam<TypeTag, Properties::EnableGridAdaptation>();
133
134 // this parameter is actually used in eWoms, but the flow well model
135 // hard-codes the assumption that the intensive quantities cache is enabled,
136 // so flow crashes. Let's hide the parameter for that reason.
137 Parameters::hideParam<TypeTag, Properties::EnableIntensiveQuantityCache>();
138
139 // thermodynamic hints are not implemented/required by the eWoms blackoil
140 // model
141 Parameters::hideParam<TypeTag, Properties::EnableThermodynamicHints>();
142
143 // in flow only the deck file determines the end time of the simulation
144 Parameters::hideParam<TypeTag, Properties::EndTime>();
145
146 // time stepping is not done by the eWoms code in flow
147 Parameters::hideParam<TypeTag, Properties::InitialTimeStepSize>();
148 Parameters::hideParam<TypeTag, Properties::MaxTimeStepDivisions>();
149 Parameters::hideParam<TypeTag, Properties::MaxTimeStepSize>();
150 Parameters::hideParam<TypeTag, Properties::MinTimeStepSize>();
151 Parameters::hideParam<TypeTag, Properties::PredeterminedTimeStepsFile>();
152
153 // flow also does not use the eWoms Newton method
154 Parameters::hideParam<TypeTag, Properties::NewtonMaxError>();
155 Parameters::hideParam<TypeTag, Properties::NewtonTolerance>();
156 Parameters::hideParam<TypeTag, Properties::NewtonTargetIterations>();
157 Parameters::hideParam<TypeTag, Properties::NewtonVerbose>();
158 Parameters::hideParam<TypeTag, Properties::NewtonWriteConvergence>();
159
160 // the default eWoms checkpoint/restart mechanism does not work with flow
161 Parameters::hideParam<TypeTag, Properties::RestartTime>();
162 Parameters::hideParam<TypeTag, Properties::RestartWritingInterval>();
163 // hide all vtk related it is not currently possible to do this dependet on if the vtk writing is used
164 //if(not(Parameters::get<TypeTag,Properties::EnableVtkOutput>())){
165 Parameters::hideParam<TypeTag, Properties::VtkWriteOilFormationVolumeFactor>();
166 Parameters::hideParam<TypeTag, Properties::VtkWriteOilSaturationPressure>();
167 Parameters::hideParam<TypeTag, Properties::VtkWriteOilVaporizationFactor>();
168 Parameters::hideParam<TypeTag, Properties::VtkWritePorosity>();
169 Parameters::hideParam<TypeTag, Properties::VtkWritePotentialGradients>();
170 Parameters::hideParam<TypeTag, Properties::VtkWritePressures>();
171 Parameters::hideParam<TypeTag, Properties::VtkWritePrimaryVars>();
172 Parameters::hideParam<TypeTag, Properties::VtkWritePrimaryVarsMeaning>();
173 Parameters::hideParam<TypeTag, Properties::VtkWriteProcessRank>();
174 Parameters::hideParam<TypeTag, Properties::VtkWriteRelativePermeabilities>();
175 Parameters::hideParam<TypeTag, Properties::VtkWriteSaturatedGasOilVaporizationFactor>();
176 Parameters::hideParam<TypeTag, Properties::VtkWriteSaturatedOilGasDissolutionFactor>();
177 Parameters::hideParam<TypeTag, Properties::VtkWriteSaturationRatios>();
178 Parameters::hideParam<TypeTag, Properties::VtkWriteSaturations>();
179 Parameters::hideParam<TypeTag, Properties::VtkWriteTemperature>();
180 Parameters::hideParam<TypeTag, Properties::VtkWriteViscosities>();
181 Parameters::hideParam<TypeTag, Properties::VtkWriteWaterFormationVolumeFactor>();
182 Parameters::hideParam<TypeTag, Properties::VtkWriteGasDissolutionFactor>();
183 Parameters::hideParam<TypeTag, Properties::VtkWriteGasFormationVolumeFactor>();
184 Parameters::hideParam<TypeTag, Properties::VtkWriteGasSaturationPressure>();
185 Parameters::hideParam<TypeTag, Properties::VtkWriteIntrinsicPermeabilities>();
186 Parameters::hideParam<TypeTag, Properties::VtkWriteTracerConcentration>();
187 Parameters::hideParam<TypeTag, Properties::VtkWriteExtrusionFactor>();
188 Parameters::hideParam<TypeTag, Properties::VtkWriteFilterVelocities>();
189 Parameters::hideParam<TypeTag, Properties::VtkWriteDensities>();
190 Parameters::hideParam<TypeTag, Properties::VtkWriteDofIndex>();
191 Parameters::hideParam<TypeTag, Properties::VtkWriteMobilities>();
192 //}
193 Parameters::hideParam<TypeTag, Properties::VtkWriteAverageMolarMasses>();
194 Parameters::hideParam<TypeTag, Properties::VtkWriteFugacities>();
195 Parameters::hideParam<TypeTag, Properties::VtkWriteFugacityCoeffs>();
196 Parameters::hideParam<TypeTag, Properties::VtkWriteMassFractions>();
197 Parameters::hideParam<TypeTag, Properties::VtkWriteMolarities>();
198 Parameters::hideParam<TypeTag, Properties::VtkWriteMoleFractions>();
199 Parameters::hideParam<TypeTag, Properties::VtkWriteTotalMassFractions>();
200 Parameters::hideParam<TypeTag, Properties::VtkWriteTotalMoleFractions>();
201
202 Parameters::hideParam<TypeTag, Properties::VtkWriteTortuosities>();
203 Parameters::hideParam<TypeTag, Properties::VtkWriteDiffusionCoefficients>();
204 Parameters::hideParam<TypeTag, Properties::VtkWriteEffectiveDiffusionCoefficients>();
205
206 // hide average density option
207 Parameters::hideParam<TypeTag, Properties::UseAverageDensityMsWells>();
208
209 Parameters::endParamRegistration<TypeTag>();
210
211 int mpiRank = comm.rank();
212
213 // read in the command line parameters
214 int status = ::Opm::setupParameters_<TypeTag>(argc, const_cast<const char**>(argv), /*doRegistration=*/false, /*allowUnused=*/true, /*handleHelp=*/(mpiRank==0));
215 if (status == 0) {
216
217 // deal with unknown parameters.
218
219 int unknownKeyWords = 0;
220 if (mpiRank == 0) {
221 unknownKeyWords = Parameters::printUnused<TypeTag>(std::cerr);
222 }
223 int globalUnknownKeyWords = comm.sum(unknownKeyWords);
224 unknownKeyWords = globalUnknownKeyWords;
225 if ( unknownKeyWords )
226 {
227 if ( mpiRank == 0 )
228 {
229 std::string msg = "Aborting simulation due to unknown "
230 "parameters. Please query \"flow --help\" for "
231 "supported command line parameters.";
232 if (OpmLog::hasBackend("STREAMLOG"))
233 {
234 OpmLog::error(msg);
235 }
236 else {
237 std::cerr << msg << std::endl;
238 }
239 }
240 return EXIT_FAILURE;
241 }
242
243 // deal with --print-properties and --print-parameters and unknown parameters.
244
245 bool doExit = false;
246
247 if (Parameters::get<TypeTag, Properties::PrintProperties>() == 1) {
248 doExit = true;
249 if (mpiRank == 0)
250 Properties::printValues<TypeTag>(std::cout);
251 }
252
253 if (Parameters::get<TypeTag, Properties::PrintParameters>() == 1) {
254 doExit = true;
255 if (mpiRank == 0)
256 Parameters::printValues<TypeTag>();
257 }
258
259 if (doExit)
260 return -1;
261 }
262
263 return status;
264 }
265
270 {
271 return execute_(&FlowMain::runSimulator, /*cleanup=*/true);
272 }
273
275 {
276 return execute_(&FlowMain::runSimulatorInit, /*cleanup=*/false);
277 }
278
279 // Returns true unless "EXIT" was encountered in the schedule
280 // section of the input datafile.
282 {
283 return simulator_->runStep(*simtimer_);
284 }
285
286 // Called from Python to cleanup after having executed the last
287 // executeStep()
289 {
290 SimulatorReport report = simulator_->finalize();
291 runSimulatorAfterSim_(report);
292 return report.success.exit_status;
293 }
294
296 {
297 return modelSimulator_.get();
298 }
299
301 {
302 return simtimer_.get();
303 }
304
307 {
308 return simtimer_->stepLengthTaken();
309 }
310
311 private:
312 // called by execute() or executeInitStep()
313 int execute_(int (FlowMain::* runOrInitFunc)(), bool cleanup)
314 {
315 auto logger = [this](const std::exception& e, const std::string& message_start) {
316 std::ostringstream message;
317 message << message_start << e.what();
318
319 if (this->output_cout_) {
320 // in some cases exceptions are thrown before the logging system is set
321 // up.
322 if (OpmLog::hasBackend("STREAMLOG")) {
323 OpmLog::error(message.str());
324 }
325 else {
326 std::cout << message.str() << "\n";
327 }
328 }
330 return EXIT_FAILURE;
331 };
332
333 try {
334 // deal with some administrative boilerplate
335
336 Dune::Timer setupTimerAfterReadingDeck;
337 setupTimerAfterReadingDeck.start();
338
339 int status = setupParameters_(this->argc_, this->argv_, FlowGenericVanguard::comm());
340 if (status) {
341 return status;
342 }
343
347
348 this->deck_read_time_ = modelSimulator_->vanguard().setupTime();
349 this->total_setup_time_ = setupTimerAfterReadingDeck.elapsed() + this->deck_read_time_;
350
351 // if run, do the actual work, else just initialize
352 int exitCode = (this->*runOrInitFunc)();
353 if (cleanup) {
354 executeCleanup_();
355 }
356 return exitCode;
357 }
358 catch (const TimeSteppingBreakdown& e) {
359 auto exitCode = logger(e, "Simulation aborted: ");
360 executeCleanup_();
361 return exitCode;
362 }
363 catch (const std::exception& e) {
364 auto exitCode = logger(e, "Simulation aborted as program threw an unexpected exception: ");
365 executeCleanup_();
366 return exitCode;
367 }
368 }
369
370 void executeCleanup_() {
371 // clean up
373 }
374
375 protected:
377 {
378 // determine the rank of the current process and the number of processes
379 // involved in the simulation. MPI must have already been initialized
380 // here. (yes, the name of this method is misleading.)
381 auto comm = FlowGenericVanguard::comm();
382 mpi_rank_ = comm.rank();
383 mpi_size_ = comm.size();
384
385#if _OPENMP
386 // if openMP is available, default to 2 threads per process unless
387 // OMP_NUM_THREADS is set or command line --threads-per-process used
388 if (!getenv("OMP_NUM_THREADS"))
389 {
390 int threads = 2;
391 const int requested_threads = Parameters::get<TypeTag, Properties::ThreadsPerProcess>();
392 if (requested_threads > 0)
393 threads = requested_threads;
394
395 // We are not limiting this to the number of processes
396 // reported by OpenMP as on some hardware (and some OpenMPI
397 // versions) this will be 1 when run with mpirun
398 omp_set_num_threads(threads);
399 }
400#endif
401
402 using ThreadManager = GetPropType<TypeTag, Properties::ThreadManager>;
403 ThreadManager::init(false);
404 }
405
407 {
408 // force closing of all log files.
409 OpmLog::removeAllBackends();
410
411 if (mpi_rank_ != 0 || mpi_size_ < 2 || !this->output_files_ || !modelSimulator_) {
412 return;
413 }
414
415 detail::mergeParallelLogFiles(eclState().getIOConfig().getOutputDir(),
416 Parameters::get<TypeTag, Properties::EclDeckFileName>(),
417 Parameters::get<TypeTag, Properties::EnableLoggingFalloutWarning>());
418 }
419
421 {
422 modelSimulator_ = std::make_unique<ModelSimulator>(FlowGenericVanguard::comm(), /*verbose=*/false);
423 modelSimulator_->executionTimer().start();
424 modelSimulator_->model().applyInitialSolution();
425
426 try {
427 // Possible to force initialization only behavior (NOSIM).
428 const std::string& dryRunString = Parameters::get<TypeTag, Properties::EnableDryRun>();
429 if (dryRunString != "" && dryRunString != "auto") {
430 bool yesno;
431 if (dryRunString == "true"
432 || dryRunString == "t"
433 || dryRunString == "1")
434 yesno = true;
435 else if (dryRunString == "false"
436 || dryRunString == "f"
437 || dryRunString == "0")
438 yesno = false;
439 else
440 throw std::invalid_argument("Invalid value for parameter EnableDryRun: '"
441 +dryRunString+"'");
442 auto& ioConfig = eclState().getIOConfig();
443 ioConfig.overrideNOSIM(yesno);
444 }
445 }
446 catch (const std::invalid_argument& e) {
447 std::cerr << "Failed to create valid EclipseState object" << std::endl;
448 std::cerr << "Exception caught: " << e.what() << std::endl;
449 throw;
450 }
451 }
452
453 const EclipseState& eclState() const
454 { return modelSimulator_->vanguard().eclState(); }
455
456 EclipseState& eclState()
457 { return modelSimulator_->vanguard().eclState(); }
458
459 const Schedule& schedule() const
460 { return modelSimulator_->vanguard().schedule(); }
461
462 // Run the simulator.
464 {
465 return runSimulatorInitOrRun_(&FlowMain::runSimulatorRunCallback_);
466 }
467
469 {
470 return runSimulatorInitOrRun_(&FlowMain::runSimulatorInitCallback_);
471 }
472
473 private:
474 // Callback that will be called from runSimulatorInitOrRun_().
475 int runSimulatorRunCallback_()
476 {
477 SimulatorReport report = simulator_->run(*simtimer_);
478 runSimulatorAfterSim_(report);
479 return report.success.exit_status;
480 }
481
482 // Callback that will be called from runSimulatorInitOrRun_().
483 int runSimulatorInitCallback_()
484 {
485 simulator_->init(*simtimer_);
486 return EXIT_SUCCESS;
487 }
488
489 // Output summary after simulation has completed
490 void runSimulatorAfterSim_(SimulatorReport &report)
491 {
492 if (! this->output_cout_) {
493 return;
494 }
495
496 const int threads
497#if !defined(_OPENMP) || !_OPENMP
498 = 1;
499#else
500 = omp_get_max_threads();
501#endif
502
503 printFlowTrailer(mpi_size_, threads, total_setup_time_, deck_read_time_, report, simulator_->model().localAccumulatedReports());
504
506 Parameters::get<TypeTag, Properties::OutputExtraConvergenceInfo>(),
507 R"(OutputExtraConvergenceInfo (--output-extra-convergence-info))",
508 eclState().getIOConfig().getOutputDir(),
509 eclState().getIOConfig().getBaseName());
510 }
511
512 // Run the simulator.
513 int runSimulatorInitOrRun_(int (FlowMain::* initOrRunFunc)())
514 {
515
516 const auto& schedule = this->schedule();
517 auto& ioConfig = eclState().getIOConfig();
518 simtimer_ = std::make_unique<SimulatorTimer>();
519
520 // initialize variables
521 const auto& initConfig = eclState().getInitConfig();
522 simtimer_->init(schedule, static_cast<std::size_t>(initConfig.getRestartStep()));
523
524 if (this->output_cout_) {
525 std::ostringstream oss;
526
527 // This allows a user to catch typos and misunderstandings in the
528 // use of simulator parameters.
529 if (Parameters::printUnused<TypeTag>(oss)) {
530 std::cout << "----------------- Unrecognized parameters: -----------------\n";
531 std::cout << oss.str();
532 std::cout << "----------------------------------------------------------------" << std::endl;
533 }
534 }
535
536 if (!ioConfig.initOnly()) {
537 if (this->output_cout_) {
538 std::string msg;
539 msg = "\n\n================ Starting main simulation loop ===============\n";
540 OpmLog::info(msg);
541 }
542
543 return (this->*initOrRunFunc)();
544 }
545 else {
546 if (this->output_cout_) {
547 std::cout << "\n\n================ Simulation turned off ===============\n" << std::flush;
548 }
549 return EXIT_SUCCESS;
550 }
551 }
552
553 protected:
554
556 // Create simulator instance.
557 // Writes to:
558 // simulator_
560 {
561 // Create the simulator instance.
562 simulator_ = std::make_unique<Simulator>(*modelSimulator_);
563 }
564
566 { return modelSimulator_->vanguard().grid(); }
567
568 private:
569 std::unique_ptr<ModelSimulator> modelSimulator_;
570 int mpi_rank_ = 0;
571 int mpi_size_ = 1;
572 std::any parallel_information_;
573 std::unique_ptr<Simulator> simulator_;
574 std::unique_ptr<SimulatorTimer> simtimer_;
575 int argc_;
576 char **argv_;
577 bool output_cout_;
578 bool output_files_;
579 double total_setup_time_ = 0.0;
580 double deck_read_time_ = 0.0;
581 };
582
583} // namespace Opm
584
585#endif // OPM_FLOW_MAIN_HEADER_INCLUDED
static Parallel::Communication & comm()
Obtain global communicator.
Definition: FlowGenericVanguard.hpp:255
Definition: FlowMain.hpp:83
int executeStep()
Definition: FlowMain.hpp:281
const Schedule & schedule() const
Definition: FlowMain.hpp:459
FlowMain(int argc, char **argv, bool output_cout, bool output_files)
Definition: FlowMain.hpp:95
EclipseState & eclState()
Definition: FlowMain.hpp:456
int executeInitStep()
Definition: FlowMain.hpp:274
Grid & grid()
Definition: FlowMain.hpp:565
static int setupParameters_(int argc, char **argv, Parallel::Communication comm)
Definition: FlowMain.hpp:103
int runSimulatorInit()
Definition: FlowMain.hpp:468
GetPropType< TypeTag, Properties::Simulator > ModelSimulator
Definition: FlowMain.hpp:86
int executeStepsCleanup()
Definition: FlowMain.hpp:288
GetPropType< TypeTag, Properties::Grid > Grid
Definition: FlowMain.hpp:87
void setupModelSimulator()
Definition: FlowMain.hpp:420
void mergeParallelLogFiles()
Definition: FlowMain.hpp:406
GetPropType< TypeTag, Properties::Problem > Problem
Definition: FlowMain.hpp:89
double getPreviousReportStepSize()
Get the size of the previous report step.
Definition: FlowMain.hpp:306
ModelSimulator * getSimulatorPtr()
Definition: FlowMain.hpp:295
const EclipseState & eclState() const
Definition: FlowMain.hpp:453
int execute()
Definition: FlowMain.hpp:269
GetPropType< TypeTag, Properties::FluidSystem > FluidSystem
Definition: FlowMain.hpp:91
void createSimulator()
This is the main function of Flow.
Definition: FlowMain.hpp:559
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition: FlowMain.hpp:90
GetPropType< TypeTag, Properties::GridView > GridView
Definition: FlowMain.hpp:88
typename GetProp< TypeTag, Properties::MaterialLaw >::EclMaterialLawManager MaterialLawManager
Definition: FlowMain.hpp:85
void setupParallelism()
Definition: FlowMain.hpp:376
int runSimulator()
Definition: FlowMain.hpp:463
SimulatorTimer * getSimTimer()
Definition: FlowMain.hpp:300
This problem simulates an input file given in the data format used by the commercial ECLiPSE simulato...
Definition: FlowProblem.hpp:112
a simulator for the blackoil model
Definition: SimulatorFullyImplicitBlackoil.hpp:143
static void registerParameters()
Definition: SimulatorFullyImplicitBlackoil.hpp:215
Definition: SimulatorTimer.hpp:39
Dune::Communication< MPIComm > Communication
Definition: ParallelCommunication.hpp:30
Definition: AluGridVanguard.hpp:57
void mergeParallelLogFiles(std::string_view output_dir, std::string_view deck_filename, bool enableLoggingFalloutWarning)
void checkAllMPIProcesses()
void handleExtraConvergenceOutput(SimulatorReport &report, std::string_view option, std::string_view optionName, std::string_view output_dir, std::string_view base_name)
Definition: BlackoilPhases.hpp:27
void printFlowTrailer(int nprocs, int nthreads, const double total_setup_time, const double deck_read_time, const SimulatorReport &report, const SimulatorReportSingle &localsolves_report)
Definition: FlowMain.hpp:47
UndefinedProperty type
Definition: FlowMain.hpp:48
UndefinedProperty type
Definition: FlowMain.hpp:56
Definition: FlowMain.hpp:51
UndefinedProperty type
Definition: FlowMain.hpp:52
Definition: SimulatorReport.hpp:100
SimulatorReportSingle success
Definition: SimulatorReport.hpp:101
int exit_status
Definition: SimulatorReport.hpp:56