From aafd9993d580655e53ce4e089e2d8e60ec206b2f Mon Sep 17 00:00:00 2001 From: Vicente Mataix Ferrandiz Date: Mon, 18 Dec 2023 09:12:59 +0100 Subject: [PATCH] Unrequired definition --- kratos/spatial_containers/search_wrapper.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kratos/spatial_containers/search_wrapper.h b/kratos/spatial_containers/search_wrapper.h index 391ab9ec719b..c085327a0c2c 100644 --- a/kratos/spatial_containers/search_wrapper.h +++ b/kratos/spatial_containers/search_wrapper.h @@ -606,9 +606,6 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper rResults.Clear(); } - // Some MPI data - const int rank = mrDataCommunicator.Rank(); - // Retrieving parameters const int allocation_size = mSettings["allocation_size"].GetInt(); @@ -673,9 +670,6 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper rResults.Clear(); } - // Some MPI data - const int rank = mrDataCommunicator.Rank(); - // Retrieving parameters const int allocation_size = mSettings["allocation_size"].GetInt(); @@ -738,9 +732,6 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper rResults.Clear(); } - // Some MPI data - const int rank = mrDataCommunicator.Rank(); - // Get the maximum radius const auto bb = GetBoundingBox(); const array_1d box_size = bb.GetMaxPoint() - bb.GetMinPoint(); @@ -807,9 +798,6 @@ class KRATOS_API(KRATOS_CORE) SearchWrapper rResults.Clear(); } - // Some MPI data - const int rank = mrDataCommunicator.Rank(); - // The local bounding box const auto& r_local_bb = mpSearchObject ? mpSearchObject->GetBoundingBox() : BoundingBox();