DOLFINx 0.7.3
DOLFINx C++ interface
|
Support for building sparsity patterns from degree-of-freedom maps. More...
Functions | |
void | cells (la::SparsityPattern &pattern, std::span< const std::int32_t > cells, std::array< std::reference_wrapper< const DofMap >, 2 > dofmaps) |
Iterate over cells and insert entries into sparsity pattern. | |
void | interior_facets (la::SparsityPattern &pattern, std::span< const std::int32_t > facets, std::array< std::reference_wrapper< const DofMap >, 2 > dofmaps) |
Iterate over interior facets and insert entries into sparsity pattern. | |
Support for building sparsity patterns from degree-of-freedom maps.
void cells | ( | la::SparsityPattern & | pattern, |
std::span< const std::int32_t > | cells, | ||
std::array< std::reference_wrapper< const DofMap >, 2 > | dofmaps | ||
) |
Iterate over cells and insert entries into sparsity pattern.
[in,out] | pattern | The sparsity pattern to insert into |
[in] | cells | The cell indices |
[in] | dofmaps | Dofmaps to used in building the sparsity pattern |
void interior_facets | ( | la::SparsityPattern & | pattern, |
std::span< const std::int32_t > | facets, | ||
std::array< std::reference_wrapper< const DofMap >, 2 > | dofmaps | ||
) |
Iterate over interior facets and insert entries into sparsity pattern.
[in,out] | pattern | Sparsity pattern to insert into |
[in] | facets | Facets as (cell0, cell1) pairs for each facet. |
[in] | dofmaps | The dofmap to use in building the sparsity pattern. |