Some fixups

This commit is contained in:
Guilhem Lavaux 2019-11-11 10:32:40 +01:00
parent 1bd685e9c5
commit 71691956cc
6 changed files with 24 additions and 10 deletions

View file

@ -277,7 +277,7 @@ namespace CosmoTool {
coords tmpBound;
NodeIntType nodeId;
#pragma omp atomic capture
//#pragma omp atomic capture
nodeId = (this->lastNode)++;
node = &nodes[nodeId];
@ -293,7 +293,7 @@ namespace CosmoTool {
tmpBound[axis] = node->value->coord[axis];
depth++;
#pragma omp task private(tmpBound)
//#pragma omp task private(tmpBound)
{
node->children[0] = buildTree(cell0, mid, depth, minBound, tmpBound);
}