mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Performance: Compute depth related results in parallell
This commit is contained in:
1 parent
df392e3faf
commit
f677d6d600
1 file changed
+2
-1
@@ -1845,7 +1845,8 @@ void RigCaseCellResultsData::computeDepthRelatedResults()
|
||||
}
|
||||
}
|
||||
|
||||
for ( size_t cellIdx = 0; cellIdx < m_ownerMainGrid->globalCellArray().size(); cellIdx++ )
|
||||
#pragma omp parallel for
|
||||
for ( long cellIdx = 0; cellIdx < static_cast<long>( m_ownerMainGrid->globalCellArray().size() ); cellIdx++ )
|
||||
{
|
||||
const RigCell& cell = m_ownerMainGrid->globalCellArray()[cellIdx];
|
||||
|
||||
|
||||
Reference in new issue
Block a user