20 #ifndef LIBMESH_TREE_H 21 #define LIBMESH_TREE_H 43 template <
unsigned int N>
51 unsigned int target_bin_size,
78 {
return root.n_active_bins(); }
86 const std::set<subdomain_id_type> * allowed_subdomains =
nullptr,
95 const std::set<subdomain_id_type> * allowed_subdomains =
nullptr,
140 #endif // LIBMESH_TREE_H
virtual void print_nodes(std::ostream &my_out=libMesh::out) const override
const Elem * operator()(const Point &p, const std::set< subdomain_id_type > *allowed_subdomains=nullptr, Real relative_tol=TOLERANCE) const
virtual unsigned int n_active_bins() const override
virtual const Elem * find_element(const Point &p, const std::set< subdomain_id_type > *allowed_subdomains=nullptr, Real relative_tol=TOLERANCE) const override
Tree class templated on the number of leaves on each node.
The base class for all geometric element types.
static const Real TOLERANCE
virtual void print_elements(std::ostream &my_out=libMesh::out) const override
Base class for different Tree types.
Tree(const MeshBase &m, unsigned int target_bin_size, Trees::BuildType bt=Trees::NODES)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
BuildType
Base class for different Tree types.
OStreamProxy out(std::cout)
A geometric point in (x,y,z) space.
const Trees::BuildType build_type