Commit f3683c88 authored by COULAUD Olivier's avatar COULAUD Olivier

Change interface for getPeriodicLeafsNeighbors

parent 784714fe
This diff is collapsed.
...@@ -461,7 +461,9 @@ protected: ...@@ -461,7 +461,9 @@ protected:
if(p2pEnabled){ if(p2pEnabled){
// need the current particles and neighbors particles // need the current particles and neighbors particles
const FTreeCoordinate centerOfLeaf = octreeIterator.getCurrentGlobalCoordinate(); const FTreeCoordinate centerOfLeaf = octreeIterator.getCurrentGlobalCoordinate();
const int counter = tree->getPeriodicLeafsNeighbors( neighbors, neighborPositions, offsets, &hasPeriodicLeaves, centerOfLeaf, heightMinusOne, AllDirs); const int counter = tree->getPeriodicLeafsNeighbors( neighbors, neighborPositions, offsets,
hasPeriodicLeaves, centerOfLeaf,
heightMinusOne, AllDirs);
int periodicNeighborsCounter = 0; int periodicNeighborsCounter = 0;
if(hasPeriodicLeaves){ if(hasPeriodicLeaves){
......
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