Skip to content
Snippets Groups Projects
Commit c6c9f4c1 authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier Committed by Markus Holzer
Browse files

Update !487 and avoid implicit OpenMP parallelization in mesh::BoundarySetup

parent e825e0a6
No related merge requests found
......@@ -16,6 +16,7 @@
//! \file BoundarySetup.h
//! \ingroup mesh
//! \author Christian Godenschwager <christian.godenschwager@fau.de>
//! \author Christoph Schwarzmeier <christoph.schwarzmeier@fau.de>
//
//======================================================================================================================
......@@ -110,7 +111,7 @@ void BoundarySetup::setDomainCells( const BlockDataID boundaryHandlingId, const
std::vector<Cell> domainCells;
WALBERLA_FOR_ALL_CELLS_INCLUDING_GHOST_LAYER_XYZ(voxelizationField, {
WALBERLA_FOR_ALL_CELLS_INCLUDING_GHOST_LAYER_XYZ_OMP(voxelizationField, omp critical, {
if (voxelizationField->get(x, y, z) == domainValue) { domainCells.emplace_back(x, y, z); }
if (domainCells.size() > cellVectorChunkSize_)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment