21 #include "libmesh/elem.h" 22 #include "libmesh/hp_singular.h" 23 #include "libmesh/libmesh_logging.h" 24 #include "libmesh/mesh_base.h" 25 #include "libmesh/system.h" 27 #ifdef LIBMESH_ENABLE_AMR 38 LOG_SCOPE(
"select_refinement()",
"HPSingularity");
43 for (
auto & elem :
mesh.active_element_ptr_range())
54 if (elem->contains_point(pt))
65 #endif // #ifdef LIBMESH_ENABLE_AMR
The libMesh namespace provides an interface to certain functionality in the library.
const MeshBase & get_mesh() const
This is the MeshBase class.
std::list< Point > singular_points
This list, to be filled by the user, should include all singular points in the solution.
Manages consistently variables, degrees of freedom, and coefficient vectors.
virtual void select_refinement(System &system)
This pure virtual function must be redefined in derived classes to take a mesh flagged for h refineme...