mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3253 Export Completions : Move #pragma omp into own scope
This commit is contained in:
parent
2755d2e313
commit
2c02d821a4
@ -515,9 +515,10 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
|
||||
allCompletionsForOneFracture.end(),
|
||||
std::back_inserter(sharedComplForFracture[i]));
|
||||
|
||||
#pragma omp critical(critical_section_outputStreamForIntermediateResultsText)
|
||||
if (outputStreamForIntermediateResultsText)
|
||||
{
|
||||
#pragma omp critical(critical_section_outputStreamForIntermediateResultsText)
|
||||
{
|
||||
(*outputStreamForIntermediateResultsText)
|
||||
<< "\n"
|
||||
<< "\n"
|
||||
@ -537,6 +538,7 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
|
||||
(*outputStreamForIntermediateResultsText) << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (const auto& completions : sharedComplForFracture)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user