const InputParameters & parameters() const
BoundaryMeshBuilder specialization that additionally builds a centroid k-d tree over the whole-mesh S...
virtual void initialSetup() override
KDTree & getKDTree() const
Returns a mutable reference because KDTree::neighborSearch is non-const (nanoflann's knnSearch thread...
bool hasKDTree() const
Whether the centroid k-d tree was built and is available for use.
const bool _build_kd_tree
Whether to build the centroid k-d tree.
static InputParameters validParams()
std::unique_ptr< KDTree > _kd_tree
The k-d tree is constructed using the centroids of the elements in the boundary mesh.
const int _leaf_max_size
Configures k-d tree leaf node size for performance tuning.