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,10 +664,14 @@ public:
printf("\tDownPass finished\n");
}
else{
if(octree->getHeight() == 2){
(FScalFMMEngine<FReal>::abstrct)->execute(FFmmP2P);
}else{
(FScalFMMEngine<FReal>::abstrct)->execute();
}
}
}
}
virtual void intern_dealloc_handle(Callback_free_cell userDeallocator){
free_cell(userDeallocator, CoreCell::GetFreeLeaf());
......
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