16#ifndef dealii_arborx_access_traits_h
17#define dealii_arborx_access_traits_h
21#ifdef DEAL_II_WITH_ARBORX
43 template <
int dim,
typename Number>
55 const ::Point<3, float> &
56 get(
unsigned int i)
const;
59 std::vector<::Point<3, float>>
points;
77 template <
int dim,
typename Number>
102 template <
int dim,
typename Number>
133 template <
int dim,
typename Number>
146 const ::BoundingBox<3, float> &
147 get(
unsigned int i)
const;
168 template <
int dim,
typename Number>
192 template <
int dim,
typename Number>
224 template <
int dim,
typename Number>
238 const std::pair<::Point<3, float>,
float> &
239 get(
unsigned int)
const;
242 std::vector<std::pair<::Point<3, float>,
float>>
spheres;
260 template <
int dim,
typename Number>
286 template <
int dim,
typename Number>
317 template <
int dim,
typename Number>
341 template <
int dim,
typename Number>
366 template <
int dim,
typename Number>
368 std::vector<std::pair<::Point<dim, Number>, Number>>,
403 size(const ::ArborXWrappers::PointIntersectPredicate &
pt_intersect);
410 get(const ::ArborXWrappers::PointIntersectPredicate &
pt_intersect,
429 size(const ::ArborXWrappers::PointNearestPredicate &
pt_nearest);
437 get(const ::ArborXWrappers::PointNearestPredicate &
pt_nearest,
457 size(const ::ArborXWrappers::BoundingBoxIntersectPredicate
466 const ::ArborXWrappers::BoundingBoxIntersectPredicate &
bb_intersect,
486 size(const ::ArborXWrappers::BoundingBoxNearestPredicate &
bb_nearest);
496 get(const ::ArborXWrappers::BoundingBoxNearestPredicate &
bb_nearest,
515 size(const ::ArborXWrappers::SphereIntersectPredicate &
sph_intersect);
522 get(const ::ArborXWrappers::SphereIntersectPredicate &
sph_intersect,
541 size(const ::ArborXWrappers::SphereNearestPredicate &
sph_nearest);
549 get(const ::ArborXWrappers::SphereNearestPredicate &
sph_nearest,
590 get(const ::ArborXWrappers::PointNearestPredicate &
pt_nearest,
604 const ::ArborXWrappers::BoundingBoxIntersectPredicate &
bb_intersect)
615 const ::ArborXWrappers::BoundingBoxIntersectPredicate &
bb_intersect,
618 const auto boundary_points =
bb_intersect.get(i).get_boundary_points();
619 const ::Point<3, float>
min_corner = boundary_points.first;
620 const ::Point<3, float>
max_corner = boundary_points.second;
631 size(const ::ArborXWrappers::BoundingBoxNearestPredicate &
bb_nearest)
641 get(const ::ArborXWrappers::BoundingBoxNearestPredicate &
bb_nearest,
644 const auto boundary_points =
bb_nearest.get(i).get_boundary_points();
645 const ::Point<3, float>
min_corner = boundary_points.first;
646 const ::Point<3, float>
max_corner = boundary_points.second;
673 Sphere{{sphere.first[0], sphere.first[1], sphere.first[2]},
694 return nearest(Sphere{{sphere.first[0], sphere.first[1], sphere.first[2]},
unsigned int n_nearest_neighbors
unsigned int get_n_nearest_neighbors() const
std::vector<::BoundingBox< 3, float > > bounding_boxes
const ::BoundingBox< 3, float > & get(unsigned int i) const
unsigned int n_nearest_neighbors
unsigned int get_n_nearest_neighbors() const
std::vector<::Point< 3, float > > points
const ::Point< 3, float > & get(unsigned int i) const
unsigned int n_nearest_neighbors
unsigned int get_n_nearest_neighbors() const
const std::pair<::Point< 3, float >, float > & get(unsigned int) const
std::vector< std::pair<::Point< 3, float >, float > > spheres
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space
Kokkos::HostSpace memory_space