https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
MeshTriangulationUtils.h File Reference

Go to the source code of this file.

Classes

struct  MeshTriangulationUtils::XYDelaunayOptions
 Bundle of inputs for triangulateWithDelaunay. More...
 

Namespaces

namespace  MeshTriangulationUtils
 

Functions

std::set< std::size_t > MeshTriangulationUtils::outerBoundaryIds (MeshGenerator &mg, MeshBase &boundary_mesh, const XYDelaunayOptions &opts)
 Resolves the outer-boundary selection of the options into the set of ids that define it: the ids of 'input_boundary_names' or of 'input_subdomain_names' in the boundary mesh.
 
std::unique_ptr< MeshBase > MeshTriangulationUtils::triangulateWithDelaunay (MeshGenerator &mg, std::unique_ptr< MeshBase > boundary_mesh, std::vector< std::unique_ptr< MeshBase > > hole_meshes, const XYDelaunayOptions &xyd_opts)
 Performs a 2D Delaunay triangulation (via libMesh::Poly2TriTriangulator) inside a closed boundary mesh with optional holes, optionally stitches the resulting triangulation to each hole mesh that requests it, and applies subdomain / boundary renumbering.
 
void MeshTriangulationUtils::finalizeTriangulation (MeshGenerator &mg, UnstructuredMesh &mesh, std::vector< std::unique_ptr< MeshBase > > &holes, const std::vector< bool > &holes_with_midpoints, const XYDelaunayOptions &opts)
 Performs the subdomain and boundary naming, the boundary id remapping (outer boundary to 0 and hole i to i + 1), and the hole stitching on a mesh that has already been triangulated.