Use correct OpenMP directive for INDEX_I/J/K results.

This commit is contained in:
Kristian Bendiksen 2023-04-14 15:41:50 +02:00
parent eb88cca7e8
commit cc0691f48c

View File

@ -1976,7 +1976,7 @@ void RigCaseCellResultsData::computeIndexResults()
const std::vector<RigCell>& globalCellArray = m_ownerMainGrid->globalCellArray();
long long numCells = static_cast<long long>( globalCellArray.size() );
#pragma omp for
#pragma omp parallel for
for ( long long cellIdx = 0; cellIdx < numCells; cellIdx++ )
{
const RigCell& cell = globalCellArray[cellIdx];