mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Currently, execute() calls runSimulator() to run the simulation. When the Python step_init() is implemented (see a later commit), it will instead call an executeStepInit() that will need to do the same initialization as in execute() except that it should call a runSimulatorInit() instead of runSimulator(). In order to avoid code duplication for execute() and executeStepInit(), execute() is here refactored into an execute_() method.