DOLFINx 0.12.0.0
DOLFINx C++
Loading...
Searching...
No Matches
dolfinx::fem::DofMapPackCells Concept Reference

Concept for the degree-of-freedom map data passed to the cell assembly kernel, whose entities are a list of cell indices. More...

#include <traits.h>

Concept definition

template<class T>
concept dolfinx::fem::DofMapPackCells = DofMapPackBase<T> and requires(const std::remove_cvref_t<T>& t) {
requires std::ranges::view<std::remove_cvref_t<decltype(t.entities)>>;
requires IndexList<std::remove_cvref_t<decltype(t.entities)>>;
}
Concept for the degree-of-freedom map data passed to the cell assembly kernel, whose entities are a l...
Definition traits.h:155
Concept for a randomly-indexable list of process-local indices, as used for the cell lists passed to ...
Definition traits.h:88

Detailed Description

Concept for the degree-of-freedom map data passed to the cell assembly kernel, whose entities are a list of cell indices.

The list must be a view: the pack is copied into the kernels, so an owning container would be copied on every call.