Skip to content
Snippets Groups Projects
Commit 8653ebaf authored by Rafael Ravedutti's avatar Rafael Ravedutti
Browse files
parent 1ba57ff2
No related branches found
No related tags found
No related merge requests found
...@@ -99,8 +99,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) { ...@@ -99,8 +99,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) {
auto& block_info = info[block->getId()]; auto& block_info = info[block->getId()];
pairs::compute_boundary_weights( pairs::compute_boundary_weights(
ps, ps, aabb.xMin(), aabb.xMax(), aabb.yMin(), aabb.yMax(), aabb.zMin(), aabb.zMax(),
aabb.xMin(), aabb.xMax(), aabb.yMin(), aabb.yMax(), aabb.zMin(), aabb.zMax(),
&(block_info.computationalWeight), &(block_info.communicationWeight)); &(block_info.computationalWeight), &(block_info.communicationWeight));
for(uint_t branch = 0; branch < 8; ++branch) { for(uint_t branch = 0; branch < 8; ++branch) {
...@@ -109,8 +108,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) { ...@@ -109,8 +108,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) {
auto& b_info = info[b_id]; auto& b_info = info[b_id];
pairs::compute_boundary_weights( pairs::compute_boundary_weights(
ps, ps, b_aabb.xMin(), b_aabb.xMax(), b_aabb.yMin(), b_aabb.yMax(), b_aabb.zMin(), b_aabb.zMax(),
b_aabb.xMin(), b_aabb.xMax(), b_aabb.yMin(), b_aabb.yMax(), b_aabb.zMin(), b_aabb.zMax(),
&(b_info.computationalWeight), &(b_info.communicationWeight)); &(b_info.computationalWeight), &(b_info.communicationWeight));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment