mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Fault Reactivation updates (#10727)
* Generate reservoir element sets * Add support for materials * Add local coordinate system support for exported model
This commit is contained in:
1 parent
18e9ef0558
commit
7494302275
20 files changed
+613
-188
No files matched your search
@@ -345,3 +345,13 @@ QVariant RimParameterGroup::parameterValue( QString name ) const
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimParameterGroup::parameterDoubleValue( QString name, double defaultValue ) const
|
||||
{
|
||||
RimDoubleParameter* p = dynamic_cast<RimDoubleParameter*>( parameter( name ) );
|
||||
if ( p == nullptr ) return defaultValue;
|
||||
return p->value();
|
||||
}
|
||||
Reference in new issue
Block a user