Commit 4e174c0c authored by Berenger Bramas's avatar Berenger Bramas
Browse files

forgot to remove a bug ffrom mpi periodic

parent 7acc7cd8
......@@ -1701,8 +1701,8 @@ protected:
myThreadkernels->P2PRemote(currentIter.coord,currentIter.targets,
currentIter.sources, periodicNeighbors, periodicNeighborPositions, periodicNeighborsCounter);
for(int idxNeig = 0 ; idxNeig < counter ; ++idxNeig){
if( periodicNeighbors[idxNeig] ){
for(int idxNeig = 0 ; idxNeig < periodicNeighborsCounter ; ++idxNeig){
FAssertLF( periodicNeighbors[idxNeig] );
FReal*const positionsX = periodicNeighbors[idxNeig]->getWPositions()[0];
FReal*const positionsY = periodicNeighbors[idxNeig]->getWPositions()[1];
FReal*const positionsZ = periodicNeighbors[idxNeig]->getWPositions()[2];
......@@ -1714,7 +1714,6 @@ protected:
}
}
}
}
myThreadkernels->P2P( currentIter.coord, currentIter.targets,
currentIter.sources, neighbors, neighborPositions, counter - periodicNeighborsCounter);
......
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