Skip to content

Commit

Permalink
Unrequired definition
Browse files Browse the repository at this point in the history
  • Loading branch information
loumalouomega committed Dec 18, 2023
1 parent 69aa2ce commit aafd999
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions kratos/spatial_containers/search_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down Expand Up @@ -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<double, 3> box_size = bb.GetMaxPoint() - bb.GetMinPoint();
Expand Down Expand Up @@ -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<PointType>();

Expand Down

0 comments on commit aafd999

Please sign in to comment.