Commit 784714fe authored by COULAUD Olivier's avatar COULAUD Olivier

add comments and fix a bug offset --> periodicOffset ....

parent c1e60eca
...@@ -1956,8 +1956,8 @@ void directPass(const bool p2pEnabled, const bool l2pEnabled){ ...@@ -1956,8 +1956,8 @@ void directPass(const bool p2pEnabled, const bool l2pEnabled){
for(FSize idxPart = 0; idxPart < periodicNeighbors[idxNeig]->getNbParticles() ; ++idxPart){ for(FSize idxPart = 0; idxPart < periodicNeighbors[idxNeig]->getNbParticles() ; ++idxPart){
positionsX[idxPart] -= xoffset; positionsX[idxPart] -= xoffset;
positionsY[idxPart] -= xoffset; positionsY[idxPart] -= yoffset;
positionsZ[idxPart] -= xoffset; positionsZ[idxPart] -= zoffset;
} }
} }
} }
......
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