DOLFIN-X
DOLFIN-X C++ interface
Functions
dolfinx::refinement::PlazaRefinementND Namespace Reference

Implementation of the refinement method described in Plaza and Carey "Local refinement of simplicial grids based on the skeleton" (Applied Numerical Mathematics 32 (2000) 195-218) More...

Functions

mesh::Mesh refine (const mesh::Mesh &mesh, bool redistribute)
 Uniform refine, optionally redistributing and optionally calculating the parent-child relation for facets (in 2D) More...
 
mesh::Mesh refine (const mesh::Mesh &mesh, const mesh::MeshTags< std::int8_t > &refinement_marker, bool redistribute)
 Refine with markers, optionally redistributing. More...
 

Detailed Description

Implementation of the refinement method described in Plaza and Carey "Local refinement of simplicial grids based on the skeleton" (Applied Numerical Mathematics 32 (2000) 195-218)

Function Documentation

◆ refine() [1/2]

mesh::Mesh dolfinx::refinement::PlazaRefinementND::refine ( const mesh::Mesh mesh,
bool  redistribute 
)

Uniform refine, optionally redistributing and optionally calculating the parent-child relation for facets (in 2D)

Parameters
[in]meshInput mesh to be refined
[in]redistributeFlag to call the Mesh Partitioner to redistribute after refinement
Returns
New mesh

◆ refine() [2/2]

mesh::Mesh dolfinx::refinement::PlazaRefinementND::refine ( const mesh::Mesh mesh,
const mesh::MeshTags< std::int8_t > &  refinement_marker,
bool  redistribute 
)

Refine with markers, optionally redistributing.

Parameters
[in]meshInput mesh to be refined
[in]refinement_markerMeshTags listing mesh entities which should be split by this refinement. Value == 1 means "refine", any other value means "do not refine".
[in]redistributeFlag to call the Mesh Partitioner to redistribute after refinement
Returns
New Mesh