From 8653ebaf68bb4ff2a7204b55dd8768f709f4acc1 Mon Sep 17 00:00:00 2001 From: Rafael Ravedutti <rafaelravedutti@gmail.com> Date: Tue, 6 Feb 2024 16:37:22 +0100 Subject: [PATCH] Minor Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com> --- runtime/domain/block_forest.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/runtime/domain/block_forest.cpp b/runtime/domain/block_forest.cpp index 9092cbe..61b7818 100644 --- a/runtime/domain/block_forest.cpp +++ b/runtime/domain/block_forest.cpp @@ -99,8 +99,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) { auto& block_info = info[block->getId()]; pairs::compute_boundary_weights( - ps, - aabb.xMin(), aabb.xMax(), aabb.yMin(), aabb.yMax(), aabb.zMin(), aabb.zMax(), + ps, aabb.xMin(), aabb.xMax(), aabb.yMin(), aabb.yMax(), aabb.zMin(), aabb.zMax(), &(block_info.computationalWeight), &(block_info.communicationWeight)); for(uint_t branch = 0; branch < 8; ++branch) { @@ -109,8 +108,7 @@ void BlockForest::updateWeights(PairsSimulation *ps, int nparticles) { auto& b_info = info[b_id]; pairs::compute_boundary_weights( - ps, - b_aabb.xMin(), b_aabb.xMax(), b_aabb.yMin(), b_aabb.yMax(), b_aabb.zMin(), b_aabb.zMax(), + ps, b_aabb.xMin(), b_aabb.xMax(), b_aabb.yMin(), b_aabb.yMax(), b_aabb.zMin(), b_aabb.zMax(), &(b_info.computationalWeight), &(b_info.communicationWeight)); } } -- GitLab