mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 02:12:12 -05:00
Merge pull request #8402 from OPM/8401-flow-vector-result
#8401 Flow Vector Result: Handle empty results for first time step Use OpenMP for vector calculations Janitor: Use field of double instead of float to avoid rounding errors. If float is used in field, the current editor is has rounding effects that makes the text representation of 0.1 turn into 0.09999999....
This commit is contained in:
1 parent
57e4283d26
commit
8defab9bc1
5 files changed
+27
-15
No files matched your search
@@ -65,6 +65,8 @@ cvf::ref<RigResultModifier> RigResultModifierFactory::createResultModifier( RigE
|
||||
resultValues = &( scalarSetResults->at( timeStepIndex ) );
|
||||
}
|
||||
|
||||
if ( resultValues->empty() ) return nullptr;
|
||||
|
||||
bool useGlobalActiveIndex = eclipseCase->results( porosityModel )->isUsingGlobalActiveIndex( resVarAddr );
|
||||
if ( useGlobalActiveIndex )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user