Fixed integrator to stop at exactly the right distance
This commit is contained in:
parent
b668f9947d
commit
21507e3013
2 changed files with 23 additions and 25 deletions
|
@ -280,7 +280,7 @@ namespace CosmoTool {
|
|||
coords tmpBound;
|
||||
NodeIntType nodeId;
|
||||
|
||||
#pragma omp atomic
|
||||
#pragma omp atomic capture
|
||||
nodeId = (this->lastNode)++;
|
||||
|
||||
node = &nodes[nodeId];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue