Skip to content

Commit

Permalink
Merge pull request #982 from aprokop/kdop_coordinate
Browse files Browse the repository at this point in the history
Template kDOP on Coordinate
  • Loading branch information
aprokop authored May 15, 2024
2 parents 1270d7f + d3bbf3a commit 8aae58e
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 279 deletions.
13 changes: 0 additions & 13 deletions src/geometry/ArborX_DetailsAlgorithms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,19 +403,6 @@ struct expand<BoxTag, PointTag, Box, Point>
}
};

// expand a box to include a point
template <typename Box, typename KDOP>
struct expand<BoxTag, KDOPTag, Box, KDOP>
{
KOKKOS_FUNCTION static void apply(Box &box, KDOP const &kdop)
{
// FIXME This is a workaround so that we can use existing conversion
// machinery for KDOP. In the long term, this should be replaced by a
// general algorithm.
Details::expand(box, (ArborX::Box)kdop);
}
};

// expand a box to include a box
template <typename Box1, typename Box2>
struct expand<BoxTag, BoxTag, Box1, Box2>
Expand Down
Loading

0 comments on commit 8aae58e

Please sign in to comment.