|
DOLFINx 0.7.1
DOLFINx C++ interface
|
Plaza mesh refinement. More...
Enumerations | |
| enum class | Option : int { none = 0 , parent_cell = 1 , parent_facet = 2 , parent_cell_and_facet = 3 } |
| Options for data to compute during mesh refinement. More... | |
Functions | |
| template<std::floating_point T> | |
| std::tuple< mesh::Mesh< T >, std::vector< std::int32_t >, std::vector< std::int8_t > > | refine (const mesh::Mesh< T > &mesh, bool redistribute, Option option) |
| Uniform refine, optionally redistributing and optionally calculating the parent-child relationships`. | |
| template<std::floating_point T> | |
| std::tuple< mesh::Mesh< T >, std::vector< std::int32_t >, std::vector< std::int8_t > > | refine (const mesh::Mesh< T > &mesh, std::span< const std::int32_t > edges, bool redistribute, Option option) |
| Refine with markers, optionally redistributing, and optionally calculating the parent-child relationships. | |
| template<std::floating_point T> | |
| std::tuple< graph::AdjacencyList< std::int64_t >, std::vector< T >, std::array< std::size_t, 2 >, std::vector< std::int32_t >, std::vector< std::int8_t > > | compute_refinement_data (const mesh::Mesh< T > &mesh, Option option) |
| Refine mesh returning new mesh data. | |
| template<std::floating_point T> | |
| std::tuple< graph::AdjacencyList< std::int64_t >, std::vector< T >, std::array< std::size_t, 2 >, std::vector< std::int32_t >, std::vector< std::int8_t > > | compute_refinement_data (const mesh::Mesh< T > &mesh, std::span< const std::int32_t > edges, Option option) |
| Refine with markers returning new mesh data. | |
Plaza mesh refinement.
Functions for the refinement method described in Plaza and Carey "Local refinement of simplicial grids based on the skeleton", Applied Numerical Mathematics 32 (2000), 195-218.
|
strong |
Options for data to compute during mesh refinement.
| std::tuple< graph::AdjacencyList< std::int64_t >, std::vector< T >, std::array< std::size_t, 2 >, std::vector< std::int32_t >, std::vector< std::int8_t > > compute_refinement_data | ( | const mesh::Mesh< T > & | mesh, |
| Option | option | ||
| ) |
Refine mesh returning new mesh data.
| [in] | mesh | Input mesh to be refined |
| [in] | option | Control computation of parent facets and parent cells. If an option is unselected, an empty list is returned. |
| std::tuple< graph::AdjacencyList< std::int64_t >, std::vector< T >, std::array< std::size_t, 2 >, std::vector< std::int32_t >, std::vector< std::int8_t > > compute_refinement_data | ( | const mesh::Mesh< T > & | mesh, |
| std::span< const std::int32_t > | edges, | ||
| Option | option | ||
| ) |
Refine with markers returning new mesh data.
| [in] | mesh | Input mesh to be refined |
| [in] | edges | Indices of the edges that should be split by this refinement |
| [in] | option | Control the computation of parent facets, parent cells. If an option is unselected, an empty list is returned. |
| std::tuple< mesh::Mesh< T >, std::vector< std::int32_t >, std::vector< std::int8_t > > refine | ( | const mesh::Mesh< T > & | mesh, |
| bool | redistribute, | ||
| Option | option | ||
| ) |
Uniform refine, optionally redistributing and optionally calculating the parent-child relationships`.
| [in] | mesh | Input mesh to be refined |
| [in] | redistribute | Flag to call the mesh partitioner to redistribute after refinement |
| [in] | option | Control the computation of parent facets, parent cells. If an option is unselected, an empty list is returned. |
| std::tuple< mesh::Mesh< T >, std::vector< std::int32_t >, std::vector< std::int8_t > > refine | ( | const mesh::Mesh< T > & | mesh, |
| std::span< const std::int32_t > | edges, | ||
| bool | redistribute, | ||
| Option | option | ||
| ) |
Refine with markers, optionally redistributing, and optionally calculating the parent-child relationships.
| [in] | mesh | Input mesh to be refined |
| [in] | edges | Indices of the edges that should be split by this refinement |
| [in] | redistribute | Flag to call the Mesh Partitioner to redistribute after refinement |
| [in] | option | Control the computation of parent facets, parent cells. If an option is unselected, an empty list is returned. |