mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support pausing before running abaqus script to allow input file modifications.
Add option in preferences to enable/disable pause.
This commit is contained in:
committed by
Magne Sjaastad
parent
ff0b09d1c2
commit
8c27a0f656
@@ -87,6 +87,19 @@ void RicRunWellIntegrityAnalysisFeature::onActionTriggered( bool isChecked )
|
||||
return;
|
||||
}
|
||||
|
||||
if ( RiaPreferencesGeoMech::current()->waitBeforeRunWIA() )
|
||||
{
|
||||
runProgress.setProgressDescription( "Waiting for input file modifications." );
|
||||
|
||||
QString infoText = "Input parameter files can now be found in the working folder:";
|
||||
infoText += " \"" + modelSettings->outputBaseDirectory() + "\"\n";
|
||||
infoText += "\nClick OK to start the Abaqus modeling or Cancel to stop.";
|
||||
|
||||
auto reply = QMessageBox::information( nullptr, wiaTitle, infoText, QMessageBox::Ok | QMessageBox::Cancel );
|
||||
|
||||
if ( reply != QMessageBox::Ok ) return;
|
||||
}
|
||||
|
||||
runProgress.incrementProgress();
|
||||
runProgress.setProgressDescription( "Running Abaqus modeling." );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user