8 #include <dolfinx/graph/AdjacencyList.h>
11 #include <xtl/xspan.hpp>
41 parent_cell_and_facet = 3
54 std::tuple<mesh::Mesh, std::vector<std::int32_t>, std::vector<std::int8_t>>
69 std::tuple<mesh::Mesh, std::vector<std::int32_t>, std::vector<std::int8_t>>
81 std::tuple<graph::AdjacencyList<std::int64_t>, xt::xtensor<double, 2>,
82 std::vector<std::int32_t>, std::vector<std::int8_t>>
95 std::tuple<graph::AdjacencyList<std::int64_t>, xt::xtensor<double, 2>,
96 std::vector<std::int32_t>, std::vector<std::int8_t>>
98 const xtl::span<const std::int32_t>& edges,
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:33
Mesh data structures and algorithms on meshes.
Definition: DofMap.h:30
RefinementOptions
Selection of options when refining a Mesh. parent_cell will output a list containing the local parent...
Definition: plaza.h:37
std::tuple< graph::AdjacencyList< std::int64_t >, xt::xtensor< double, 2 >, std::vector< std::int32_t >, std::vector< std::int8_t > > compute_refinement_data(const mesh::Mesh &mesh, RefinementOptions options)
Refine mesh returning new mesh data.
Definition: plaza.cpp:689
std::tuple< mesh::Mesh, std::vector< std::int32_t >, std::vector< std::int8_t > > refine(const mesh::Mesh &mesh, bool redistribute, RefinementOptions options)
Uniform refine, optionally redistributing and optionally calculating the parent-child relationships,...
Definition: plaza.cpp:619
Mesh refinement algorithms.