mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Completion Export : Use critical section when adding fracture report items
This commit is contained in:
parent
dff3a0536d
commit
7a04f71a3b
@ -451,8 +451,11 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
|
||||
RicExportFractureCompletionsImpl::calculateAndSetReportItemData(
|
||||
allCompletionsForOneFracture, eclToFractureCalc, reportItem);
|
||||
|
||||
#pragma omp critical(critical_section_fractureDataReportItems)
|
||||
{
|
||||
fractureDataReportItems->push_back(reportItem);
|
||||
}
|
||||
}
|
||||
|
||||
std::copy(allCompletionsForOneFracture.begin(),
|
||||
allCompletionsForOneFracture.end(),
|
||||
|
Loading…
Reference in New Issue
Block a user