mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
Opm flow job - well updates for field testing (#12946)
* Opm flow job improvements: - Automatic adjustment of WELLDIMS - Enable provided test file to run - Improve job progress * Bump dev version
This commit is contained in:
7 files changed
+152
-38
No files matched your search
@@ -63,8 +63,19 @@ QString RimGenericJob::workingDirectory() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimGenericJob::execute()
|
||||
{
|
||||
if ( !onPrepare() ) return false;
|
||||
// job preparations
|
||||
{
|
||||
caf::ProgressInfo prepProgress( 1, title(), false );
|
||||
|
||||
auto prepRun = prepProgress.task( "Preparing for run, please wait..." );
|
||||
|
||||
if ( !onPrepare() ) return false;
|
||||
}
|
||||
|
||||
// check if we should run
|
||||
if ( !onRun() ) return false;
|
||||
|
||||
// run job
|
||||
bool runOk = false;
|
||||
{
|
||||
caf::ProgressInfo runProgress( 1, title() );
|
||||
|
||||
Reference in new issue
Block a user