DOLFINx
0.3.0
DOLFINx C++ interface
|
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... | |
std::tuple< graph::AdjacencyList< std::int64_t >, xt::xtensor< double, 2 >, std::vector< std::int32_t > > | compute_refinement_data (const mesh::Mesh &mesh, const mesh::MeshTags< std::int8_t > &refinement_marker) |
Refine with markers returning new mesh data. More... | |
std::tuple< graph::AdjacencyList< std::int64_t >, xt::xtensor< double, 2 >, std::vector< std::int32_t > > | compute_refinement_data (const mesh::Mesh &mesh) |
Refine mesh returning new mesh data. More... | |
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)
std::tuple< graph::AdjacencyList< std::int64_t >, xt::xtensor< double, 2 >, std::vector< std::int32_t > > dolfinx::refinement::plaza::compute_refinement_data | ( | const mesh::Mesh & | mesh | ) |
Refine mesh returning new mesh data.
[in] | mesh | Input mesh to be refined |
std::tuple< graph::AdjacencyList< std::int64_t >, xt::xtensor< double, 2 >, std::vector< std::int32_t > > dolfinx::refinement::plaza::compute_refinement_data | ( | const mesh::Mesh & | mesh, |
const mesh::MeshTags< std::int8_t > & | refinement_marker | ||
) |
Refine with markers returning new mesh data.
[in] | mesh | Input mesh to be refined |
[in] | refinement_marker | MeshTags listing which mesh entities should be split by this refinement. The values are ignored. redistribute after refinement |
mesh::Mesh dolfinx::refinement::plaza::refine | ( | const mesh::Mesh & | mesh, |
bool | redistribute | ||
) |
Uniform refine, optionally redistributing and optionally calculating the parent-child relation for facets (in 2D)
[in] | mesh | Input mesh to be refined |
[in] | redistribute | Flag to call the mesh partitioner to redistribute after refinement |
mesh::Mesh dolfinx::refinement::plaza::refine | ( | const mesh::Mesh & | mesh, |
const mesh::MeshTags< std::int8_t > & | refinement_marker, | ||
bool | redistribute | ||
) |
Refine with markers, optionally redistributing.
[in] | mesh | Input mesh to be refined |
[in] | refinement_marker | MeshTags listing which mesh entities should be split by this refinement. The values are ignored. |
[in] | redistribute | Flag to call the Mesh Partitioner to redistribute after refinement |