Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d838ae4d authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille
Browse files

Changing names

parent d9893c5c
Branches
Tags
No related merge requests found
...@@ -359,11 +359,15 @@ FMpiFmaGenericLoader loader(filename,app.global()); ...@@ -359,11 +359,15 @@ FMpiFmaGenericLoader loader(filename,app.global());
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(),
realTree.getBoxCenter(), // realTree.getBoxCenter(),
realTree.getBoxWidth(), // realTree.getBoxWidth(),
realTree.getHeight(), &finalParticles,&balancer); // 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){ for(int idx = 0 ; idx < finalParticles.getSize(); ++idx){
realTree.insert(finalParticles[idx].position); realTree.insert(finalParticles[idx].position);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment