Merge pull request #2735 from hakonhagland/python_step2

Implements a Python step() method.
This commit is contained in:
Atgeirr Flø Rasmussen
2020-09-22 15:47:48 +02:00
committed by GitHub
3 changed files with 17 additions and 0 deletions

View File

@@ -326,6 +326,13 @@ namespace Opm
return execute_(&FlowMainEbos::runSimulatorInit, /*cleanup=*/false);
}
// Returns true unless "EXIT" was encountered in the schedule
// section of the input datafile.
int executeStep()
{
return simulator_->runStep(*simtimer_);
}
// Print an ASCII-art header to the PRT and DEBUG files.
// \return Whether unkown keywords were seen during parsing.
static void printPRTHeader(bool output_cout)