Commit 61a4eee6 authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

rm warning and changes to names

parent ee661b2c
...@@ -284,10 +284,15 @@ int main(int argc, char ** argv){ ...@@ -284,10 +284,15 @@ int main(int argc, char ** argv){
FVector<TestParticle> finalParticles; FVector<TestParticle> finalParticles;
FLeafBalance balancer; FLeafBalance balancer;
FMpiTreeBuilder< TestParticle >::ArrayToTree(app.global(), particles, loader.getNumberOfParticles(), // FMpiTreeBuilder< TestParticle >::ArrayToTree(app.global(), particles, loader.getNumberOfParticles(),
tree.getBoxCenter(), // tree.getBoxCenter(),
tree.getBoxWidth(), // tree.getBoxWidth(),
tree.getHeight(), &finalParticles,&balancer); // tree.getHeight(), &finalParticles,&balancer);
FMpiTreeBuilder< TestParticle >::DistributeArrayToContainer(app.global(),particles,
loader.getMyNumberOfParticles(),
tree.getBoxCenter(),
tree.getBoxWidth(),tree.getHeight(),
&finalParticles, &balancer);
for(int idx = 0 ; idx < finalParticles.getSize(); ++idx){ for(int idx = 0 ; idx < finalParticles.getSize(); ++idx){
tree.insert(finalParticles[idx].position,finalParticles[idx].physicalValue); tree.insert(finalParticles[idx].position,finalParticles[idx].physicalValue);
......
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