Some fixups
This commit is contained in:
parent
1bd685e9c5
commit
71691956cc
6 changed files with 24 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue