Commit 64603413 authored by Berenger Bramas's avatar Berenger Bramas

Make the MPI tsm working and add a test

parent c3c49e1a
This diff is collapsed.
......@@ -213,11 +213,12 @@ protected:
CellClass* potentialChild[8];
CellClass** const realChild = iterArray[idxCell].getCurrentChild();
CellClass* const currentCell = iterArray[idxCell].getCurrentCell();
int nbChildWithSrc = 0;
for(int idxChild = 0 ; idxChild < 8 ; ++idxChild){
potentialChild[idxChild] = nullptr;
if(realChild[idxChild]){
if(realChild[idxChild]->hasSrcChild()){
currentCell->setSrcChildTrue();
nbChildWithSrc += 1;
potentialChild[idxChild] = realChild[idxChild];
}
if(realChild[idxChild]->hasTargetsChild()){
......@@ -225,9 +226,12 @@ protected:
}
}
}
if(nbChildWithSrc){
currentCell->setSrcChildTrue();
myThreadkernels->M2M( currentCell , potentialChild, idxLevel);
}
}
}
FLOG(computationCounter.tac());
FLOG( FLog::Controller << "\t\t>> Level " << idxLevel << " = " << counterTimeLevel.tacAndElapsed() << "s\n" );
}
......
This diff is collapsed.
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