Commit 5f000e4c authored by BRAMAS Berenger's avatar BRAMAS Berenger

add an assert

parent 25bebc88
......@@ -70,6 +70,7 @@ protected:
for(MortonIndex mindex = blockStartIdx ; mindex < blockEndIdx ; ++mindex){
CellClass* cell = (*iterCells)->getCell(mindex);
if(cell){
FAssertLF(cell->getMortonIndex() == mindex);
ParticleContainerClass particles = (*iterParticles)->template getLeaf<ParticleContainerClass>(mindex);
FAssertLF(particles.isAttachedToSomething());
kernels->P2M(cell, &particles);
......
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