From 30b5ca3b0436e5f553945e4123556f29efd4a081 Mon Sep 17 00:00:00 2001 From: AlexanderSinn Date: Thu, 1 Aug 2024 23:25:54 +0200 Subject: [PATCH] remove minBox --- Src/Base/AMReX_Box.H | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Src/Base/AMReX_Box.H b/Src/Base/AMReX_Box.H index aac2e6ac70..7d4cb30c43 100644 --- a/Src/Base/AMReX_Box.H +++ b/Src/Base/AMReX_Box.H @@ -1939,19 +1939,6 @@ Dim3 min_ubound (BoxND const& b1, Dim3 const& hi) noexcept return min(b1.bigEnd(), IntVectND(hi)).dim3(); } -template -[[nodiscard]] -AMREX_GPU_HOST_DEVICE -AMREX_FORCE_INLINE -BoxND minBox (BoxND const& b1, BoxND const& b2, IndexTypeND typ) noexcept -{ - return BoxND( - max(b1.smallEnd(), b2.smallEnd()), - min(b1.bigEnd(), b2.bigEnd()), - typ - ); -} - // Returns a BoxND that covers all the argument Boxes in index // space. The types are ignored. Thus, the arguments can have // different index types, and the returned BoxND's index type has no