16 #include <IntVectSet.H>
20 #include <CD_NamespaceHeader.H>
26 ThreadSafeIVSUnion(IntVectSet& ivsInOut,
const IntVectSet& ivsIn) noexcept
30 #pragma omp declare reduction(+ : IntVectSet : ThreadSafeIVSUnion(omp_out, omp_in))
35 ThreadSafeCatenation(List<P>& particlesOut, List<P>& particlesIn) noexcept
37 particlesOut.catenate(particlesIn);
43 ThreadSafeJoin(List<P>& particlesOut, List<P>& particlesIn) noexcept
45 particlesOut.join(particlesIn);
50 ThreadSafePairMin(std::pair<Real, RealVect>& ompOut,
const std::pair<Real, RealVect>& ompIn) noexcept
52 ompOut = (ompIn.first < ompOut.first) ? ompIn : ompOut;
54 #pragma omp declare reduction(pairmin : std::pair<Real, RealVect> : ThreadSafePairMin(omp_out, omp_in)) initializer(omp_priv=omp_orig)
58 #include <CD_NamespaceFooter.H>