Go to the documentation of this file.
20 #ifndef LIBMESH_PATCH_H
21 #define LIBMESH_PATCH_H
24 #include "libmesh/id_types.h"
47 class Patch :
public std::set<const Elem *>
114 const unsigned int target_patch_size = 10,
137 #endif // LIBMESH_PATCH_H
Patch(const processor_id_type my_procid=static_cast< processor_id_type >(-1))
Constructor.
void build_around_element(const Elem *elem, const unsigned int target_patch_size=10, PMF patchtype=&Patch::add_local_face_neighbors)
Erases any elements in the current patch, then builds a new patch containing element elem by repeated...
void add_semilocal_face_neighbors()
This function finds all elements which touch the current patch at a face and which touch one of our p...
The libMesh namespace provides an interface to certain functionality in the library.
void find_point_neighbors(std::set< const Elem * > &neighbor_set)
This function finds all elements which touch the current patch at any point.
void find_face_neighbors(std::set< const Elem * > &neighbor_set)
This function finds all elements which touch the current patch at a face.
void add_point_neighbors()
This function finds all elements which touch the current patch at any point, and adds them to the pat...
void(Patch::* PMF)()
Pointer to Member Function typedef.
void add_local_face_neighbors()
This function finds all elements on the current processor which touch the current patch at a face,...
void add_face_neighbors()
This function finds all elements which touch the current patch at a face, and adds them to the patch.
const processor_id_type _my_procid
uint8_t processor_id_type
This class implements useful utility functions for a patch of elements.
This is the base class from which all geometric element types are derived.
void add_semilocal_point_neighbors()
This function finds all elements which touch the current patch at any point and which touch one of ou...
void add_local_point_neighbors()
This function finds all elements on the current processor which touch the current patch at any point,...