Go to the documentation of this file.
20 #ifndef LIBMESH_TREE_BASE_H
21 #define LIBMESH_TREE_BASE_H
24 #include "libmesh/reference_counted_object.h"
101 const std::set<subdomain_id_type> * allowed_subdomains =
nullptr,
111 std::set<const Elem *> & candidate_elements,
112 const std::set<subdomain_id_type> * allowed_subdomains =
nullptr,
138 #endif // LIBMESH_TREE_BASE_H
const MeshBase & mesh
Constant reference to a mesh.
This class implements reference counting.
The libMesh namespace provides an interface to certain functionality in the library.
virtual unsigned int n_active_bins() const =0
virtual void print_nodes(std::ostream &out=libMesh::out) const =0
Prints the nodes.
static const Real TOLERANCE
BuildType
enum defining how to build the tree.
virtual const Elem * find_element(const Point &p, const std::set< subdomain_id_type > *allowed_subdomains=nullptr, Real relative_tol=TOLERANCE) const =0
This is the MeshBase class.
A Point defines a location in LIBMESH_DIM dimensional Real space.
This is the base class for trees, it allows pointer usage of trees.
virtual void find_elements(const Point &p, std::set< const Elem * > &candidate_elements, const std::set< subdomain_id_type > *allowed_subdomains=nullptr, Real relative_tol=TOLERANCE) const =0
Fills candidate_elements with any elements containing the specified point p, optionally restricted to...
This is the base class from which all geometric element types are derived.
TreeBase(const MeshBase &m)
Constructor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ~TreeBase()
Destructor.
virtual void print_elements(std::ostream &out=libMesh::out) const =0
Prints the nodes.