libMesh
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
mesh_subdivision_support.h File Reference

Go to the source code of this file.

Namespaces

namespace  libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 
namespace  libMesh::MeshTools
 Utility functions for operations on a Mesh object.
 
namespace  libMesh::MeshTools::Subdivision
 Utility functions for subdivision surface operations on a Mesh.
 

Functions

void libMesh::MeshTools::Subdivision::find_one_ring (const Tri3Subdivision *elem, std::vector< const Node * > &nodes)
 Determines the 1-ring of element elem, and writes it to the nodes vector.
 
void libMesh::MeshTools::Subdivision::all_subdivision (MeshBase &mesh)
 Turns a triangulated mesh into a subdivision mesh.
 
void libMesh::MeshTools::Subdivision::prepare_subdivision_mesh (MeshBase &mesh, bool ghosted=false)
 Prepares the mesh for use with subdivision elements.
 
void libMesh::MeshTools::Subdivision::add_boundary_ghosts (MeshBase &mesh)
 Adds a new layer of "ghost" elements along the domain boundaries.
 
void libMesh::MeshTools::Subdivision::tag_boundary_ghosts (MeshBase &mesh)
 Flags the outermost element layer along the domain boundaries as "ghost" elements.
 

Variables

static const unsigned int libMesh::MeshTools::Subdivision::next [3] = {1,2,0}
 A lookup table for the increment modulo 3 operation, for iterating through the three nodes per element in positive direction.
 
static const unsigned int libMesh::MeshTools::Subdivision::prev [3] = {2,0,1}
 A lookup table for the decrement modulo 3 operation, for iterating through the three nodes per element in negative direction.