![]() |
deal.II version 9.7.0
|
#include <deal.II/arborx/distributed_tree.h>
This class implements a wrapper around ArborX::DistributedTree, the distributed version of ArborX::BVH.
Definition at line 37 of file distributed_tree.h.
Public Member Functions | |
| template<int dim, typename Number> | |
| DistributedTree (const MPI_Comm comm, const std::vector< BoundingBox< dim, Number > > &bounding_boxes) | |
| template<int dim, typename Number> | |
| DistributedTree (const MPI_Comm comm, const std::vector< Point< dim, Number > > &points) | |
| template<typename QueryType> | |
| std::pair< std::vector< std::pair< int, int > >, std::vector< int > > | query (const QueryType &queries) |
Private Attributes | |
| ArborX::DistributedTree< Kokkos::HostSpace > | distributed_tree |
| ArborXWrappers::DistributedTree::DistributedTree | ( | const MPI_Comm | comm, |
| const std::vector< BoundingBox< dim, Number > > & | bounding_boxes ) |
Constructor. Use a vector of BoundingBox bounding_boxes as primitives. The BoundingBox objects in bounding_boxes are local to the MPI process.
Definition at line 85 of file distributed_tree.h.
| ArborXWrappers::DistributedTree::DistributedTree | ( | const MPI_Comm | comm, |
| const std::vector< Point< dim, Number > > & | points ) |
Constructor. Use a vector of points as primitives. The Point objects in points are local to the MPI process.
Definition at line 96 of file distributed_tree.h.
| std::pair< std::vector< std::pair< int, int > >, std::vector< int > > ArborXWrappers::DistributedTree::query | ( | const QueryType & | queries | ) |
Return the indices and the MPI ranks of those BoundingBox objects that satisfy the queries. Because queries can contain multiple queries, the function returns a pair of indices and ranks and the associated offsets.
Valid QueryType classes are ArborXWrappers::BoundingBoxIntersectPredicate, ArborXWrappers::BoundingBoxNearestPredicate, ArborXWrappers::PointIntersectPredicate, ArborXWrappers::PointNearestPredicate, ArborXWrappers::SphereIntersectPredicate, and ArborXWrappers::SphereNearestPredicate.
Definition at line 106 of file distributed_tree.h.
|
private |
Underlying ArborX object.
Definition at line 79 of file distributed_tree.h.