DOLFINx
0.5.1
DOLFINx C++ interface
|
Support for building sparsity patterns from degree-of-freedom maps. More...
Functions | |
void | cells (la::SparsityPattern &pattern, const mesh::Topology &topology, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over cells and insert entries into sparsity pattern. More... | |
void | cells (la::SparsityPattern &pattern, const std::span< const std::int32_t > &cells, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over cells and insert entries into sparsity pattern. More... | |
void | interior_facets (la::SparsityPattern &pattern, const mesh::Topology &topology, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over interior facets and insert entries into sparsity pattern. More... | |
void | interior_facets (la::SparsityPattern &pattern, const std::span< const std::int32_t > &facets, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over interior facets and insert entries into sparsity pattern. More... | |
void | exterior_facets (la::SparsityPattern &pattern, const mesh::Topology &topology, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over exterior facets and insert entries into sparsity pattern. More... | |
void | exterior_facets (la::SparsityPattern &pattern, const std::span< const std::int32_t > &facets, const std::array< const std::reference_wrapper< const DofMap >, 2 > &dofmaps) |
Iterate over exterior facets and insert entries into sparsity pattern. More... | |
Support for building sparsity patterns from degree-of-freedom maps.
void cells | ( | la::SparsityPattern & | pattern, |
const mesh::Topology & | topology, | ||
const std::array< const 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] | topology | The mesh topology to build the sparsity pattern over |
[in] | dofmaps | The dofmap to use in building the sparsity pattern |
void cells | ( | la::SparsityPattern & | pattern, |
const std::span< const std::int32_t > & | cells, | ||
const std::array< const 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 | The dofmap to use in building the sparsity pattern |
void exterior_facets | ( | la::SparsityPattern & | pattern, |
const mesh::Topology & | topology, | ||
const std::array< const std::reference_wrapper< const DofMap >, 2 > & | dofmaps | ||
) |
Iterate over exterior facets and insert entries into sparsity pattern.
[in,out] | pattern | The sparsity pattern to insert into |
[in] | topology | The mesh topology to build the sparsity pattern over |
[in] | dofmaps | The dofmap to use in building the sparsity pattern |
void exterior_facets | ( | la::SparsityPattern & | pattern, |
const std::span< const std::int32_t > & | facets, | ||
const std::array< const std::reference_wrapper< const DofMap >, 2 > & | dofmaps | ||
) |
Iterate over exterior facets and insert entries into sparsity pattern.
[in,out] | pattern | The sparsity pattern to insert into |
[in] | facets | The facets as (cell, local_index) pairs |
[in] | dofmaps | The dofmap to use in building the sparsity pattern |
void interior_facets | ( | la::SparsityPattern & | pattern, |
const mesh::Topology & | topology, | ||
const std::array< const std::reference_wrapper< const DofMap >, 2 > & | dofmaps | ||
) |
Iterate over interior facets and insert entries into sparsity pattern.
[in,out] | pattern | The sparsity pattern to insert into |
[in] | topology | The mesh topology to build the sparsity pattern over |
[in] | dofmaps | The dofmap to use in building the sparsity pattern |
void interior_facets | ( | la::SparsityPattern & | pattern, |
const std::span< const std::int32_t > & | facets, | ||
const std::array< const std::reference_wrapper< const DofMap >, 2 > & | dofmaps | ||
) |
Iterate over interior facets and insert entries into sparsity pattern.
[in,out] | pattern | The sparsity pattern to insert into |
[in] | facets | The facets as (cell, local_index) pairs, where local_index is the index of the facet relative to the cell |
[in] | dofmaps | The dofmap to use in building the sparsity pattern |