Allow different definitions of valid result for StimPlan and Thermal template.

This commit is contained in:
Kristian Bendiksen
2022-09-05 18:28:51 +02:00
parent d046e2692c
commit 550110d8ab
6 changed files with 25 additions and 4 deletions

View File

@@ -838,3 +838,11 @@ void RimStimPlanFractureTemplate::appendTextIfValidValue( QString&
body += QString( "%1: %2<br>" ).arg( name ).arg( RiaNumberFormat::valueToText( value, numberFormat, precision ) );
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimStimPlanFractureTemplate::isValidResult( double value ) const
{
return value > 1e-7;
}