Commit d838ae4d authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

Changing names

parent d9893c5c
......@@ -359,11 +359,15 @@ FMpiFmaGenericLoader loader(filename,app.global());
FVector<TestParticle> finalParticles;
FLeafBalance balancer;
FMpiTreeBuilder< TestParticle >::ArrayToTree(app.global(), particles, loader.getNumberOfParticles(),
realTree.getBoxCenter(),
realTree.getBoxWidth(),
realTree.getHeight(), &finalParticles,&balancer);
// FMpiTreeBuilder< TestParticle >::ArrayToTree(app.global(), particles, loader.getNumberOfParticles(),
// realTree.getBoxCenter(),
// realTree.getBoxWidth(),
// realTree.getHeight(), &finalParticles,&balancer);
FMpiTreeBuilder< TestParticle >::DistributeArrayToContainer(app.global(),particles,
loader.getMyNumberOfParticles(),
realTree.getBoxCenter(),
realTree.getBoxWidth(),realTree.getHeight(),
&finalParticles, &balancer);
for(int idx = 0 ; idx < finalParticles.getSize(); ++idx){
realTree.insert(finalParticles[idx].position);
}
......
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