|
DOLFINx 0.12.0.0
DOLFINx C++
|
Functions for computing integration domains. More...
#include "Form.h"#include <algorithm>#include <array>#include <cassert>#include <cstdint>#include <dolfinx/graph/AdjacencyList.h>#include <dolfinx/mesh/Topology.h>#include <ranges>#include <span>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | dolfinx |
| Top-level namespace. | |
| namespace | dolfinx::fem |
| Finite element method functionality. | |
Functions | |
| template<int num_cells> | |
| std::array< std::int32_t, 2 *num_cells > | get_cell_facet_pairs (std::int32_t f, std::span< const std::int32_t > cells, const graph::AdjacencyList< std::int32_t > &c_to_f) |
| template<int num_cells> | |
| std::array< std::int32_t, 2 *num_cells > | get_cell_entity_pairs (std::int32_t e, std::span< const std::int32_t > cells, const graph::AdjacencyList< std::int32_t > &c_to_e) |
| std::vector< std::int32_t > | compute_integration_domains (IntegralType integral_type, const mesh::Topology &topology, std::span< const std::int32_t > entities) |
| Given an integral type and a set of entities, computes and return data for the entities that should be integrated over. | |
Functions for computing integration domains.
| std::array< std::int32_t, 2 *num_cells > get_cell_entity_pairs | ( | std::int32_t | e, |
| std::span< const std::int32_t > | cells, | ||
| const graph::AdjacencyList< std::int32_t > & | c_to_e ) |
Helper function to get an array of of (cell, local_entity) pairs corresponding to a given entity index.
| [in] | e | entity index |
| [in] | cells | List of cells incident to the entity |
| [in] | c_to_e | Cell to entity connectivity |
| std::array< std::int32_t, 2 *num_cells > get_cell_facet_pairs | ( | std::int32_t | f, |
| std::span< const std::int32_t > | cells, | ||
| const graph::AdjacencyList< std::int32_t > & | c_to_f ) |
Helper function to get an array of (cell, local_facet) pairs corresponding to a given facet index.
| [in] | f | Facet index |
| [in] | cells | List of cells incident to the facet |
| [in] | c_to_f | Cell to facet connectivity |