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,7 +451,10 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
|
|||||||
RicExportFractureCompletionsImpl::calculateAndSetReportItemData(
|
RicExportFractureCompletionsImpl::calculateAndSetReportItemData(
|
||||||
allCompletionsForOneFracture, eclToFractureCalc, reportItem);
|
allCompletionsForOneFracture, eclToFractureCalc, reportItem);
|
||||||
|
|
||||||
fractureDataReportItems->push_back(reportItem);
|
#pragma omp critical(critical_section_fractureDataReportItems)
|
||||||
|
{
|
||||||
|
fractureDataReportItems->push_back(reportItem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::copy(allCompletionsForOneFracture.begin(),
|
std::copy(allCompletionsForOneFracture.begin(),
|
||||||
|
Loading…
Reference in New Issue
Block a user