const InputParameters & parameters() const
BoundaryMeshBuilder specialization that additionally builds a centroid KD-tree over the whole-mesh Su...
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 KDTree was built and is available for use.
const bool _build_kd_tree
Whether to build the centroid KD-tree.
static InputParameters validParams()
std::unique_ptr< KDTree > _kd_tree
The KDTree is constructed using the centroids of the elements in the boundary mesh.
const int _leaf_max_size
Configures KDTree leaf node size for performance tuning.