#3253 OpenMP : Give name to all critical sections

This commit is contained in:
Magne Sjaastad
2018-08-27 08:42:33 +02:00
parent 9529142a30
commit 9e3a100bcc
8 changed files with 35 additions and 31 deletions

View File

@@ -234,7 +234,7 @@ void RivFemPartGeometryGenerator::computeArrays()
qElmNodeResIdx[2] = m_part->elementNodeResultIdx(elmIdx, localElmNodeIndicesForFace[2]);
qElmNodeResIdx[3] = m_part->elementNodeResultIdx(elmIdx, localElmNodeIndicesForFace[3]);
#pragma omp critical
#pragma omp critical(critical_section_RivFemPartGeometryGenerator_computeArrays)
{
vertices.push_back(quadVxs0);
vertices.push_back(quadVxs1);