Commit a6019d2b authored by franjo_j@hotmail.com's avatar franjo_j@hotmail.com
Browse files

Windows-related compilation of the templated frontal marking


git-svn-id: https://pl5.projectlocker.com/igui/meshGeneration/svn@31 fdcce57e-7e00-11e2-b579-49867b4cea03
parent fd086d53
......@@ -177,7 +177,11 @@ label groupMarking
{
const label chunkSize = neighbourCalculator.size() / nThreads + 1;
# ifdef USE_OMP
const label threadI = omp_get_thread_num();
# else
const label threadI(0);
# endif
LongList<std::pair<label, label> > threadCommPairs;
......
......@@ -31,7 +31,9 @@ Description
#include "boundBox.H"
#include "labelListPMG.H"
# ifdef USE_OMP
#include <omp.h>
# endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -156,7 +158,11 @@ void meshOctreeInsideOutside::frontalMarking()
{
LongList<std::pair<label, label> > threadCommPairs;
# ifdef USE_OMP
const label threadI = omp_get_thread_num();
# else
const label threadI(0);
# endif
const label chunkSize = leaves.size() / nThreads + 1;
......
Markdown is supported
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