* lie exactly on a vertex, edge, or face.
* @param enforce_unique_mapping Enforce unique mapping, i.e.,
* (one-to-one) relation of points and cells.
+ * @param rtree_level RTree level to be used during the construction of the bounding boxes.
*/
- RemotePointEvaluation(const double tolerance = 1e-6,
- const bool enforce_unique_mapping = false);
+ RemotePointEvaluation(const double tolerance = 1e-6,
+ const bool enforce_unique_mapping = false,
+ const unsigned int rtree_level = 0);
/**
* Destructor.
*/
const bool enforce_unique_mapping;
+ /**
+ * RTree level to be used during the construction of the bounding boxes.
+ */
+ const unsigned int rtree_level;
+
/**
* Storage for the status of the triangulation signal.
*/
{
template <int dim, int spacedim>
RemotePointEvaluation<dim, spacedim>::RemotePointEvaluation(
- const double tolerance,
- const bool enforce_unique_mapping)
+ const double tolerance,
+ const bool enforce_unique_mapping,
+ const unsigned int rtree_level)
: tolerance(tolerance)
, enforce_unique_mapping(enforce_unique_mapping)
+ , rtree_level(rtree_level)
, ready_flag(false)
{}
const auto local_tree = pack_rtree(local_boxes);
// compress r-tree to a minimal set of bounding boxes
- const auto local_reduced_box = extract_rtree_level(local_tree, 0);
+ const auto local_reduced_box =
+ extract_rtree_level(local_tree, rtree_level);
// gather bounding boxes of other processes
const auto global_bboxes =