mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Performance: Compute depth related results in parallell
This commit is contained in:
parent
df392e3faf
commit
f677d6d600
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user