Skip to content

Commit

Permalink
remove minBox
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Aug 1, 2024
1 parent 94c2e5a commit 30b5ca3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Src/Base/AMReX_Box.H
Original file line number Diff line number Diff line change
Expand Up @@ -1939,19 +1939,6 @@ Dim3 min_ubound (BoxND<dim> const& b1, Dim3 const& hi) noexcept
return min(b1.bigEnd(), IntVectND<dim>(hi)).dim3();
}

template<int dim>
[[nodiscard]]
AMREX_GPU_HOST_DEVICE
AMREX_FORCE_INLINE
BoxND<dim> minBox (BoxND<dim> const& b1, BoxND<dim> const& b2, IndexTypeND<dim> typ) noexcept
{
return BoxND<dim>(
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
Expand Down

0 comments on commit 30b5ca3

Please sign in to comment.