Commit 1ba15fd9 authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

Modif in order to limit computation to P2P in case of TreeHeight==2 in the API

parent 6dc80bb0
......@@ -664,7 +664,11 @@ public:
printf("\tDownPass finished\n");
}
else{
(FScalFMMEngine<FReal>::abstrct)->execute();
if(octree->getHeight() == 2){
(FScalFMMEngine<FReal>::abstrct)->execute(FFmmP2P);
}else{
(FScalFMMEngine<FReal>::abstrct)->execute();
}
}
}
}
......
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