dune-grid 2.10
Loading...
Searching...
No Matches
Dune::Concept::IndexSet Concept Reference

Model of an index set. More...

#include <dune/grid/concepts/indexidset.hh>

Concept definition

template<class IS>
concept Dune::Concept::IndexSet = requires(const IS is, Dune::GeometryType type, int codim)
{
{ IS::dimension } -> std::convertible_to<int>;
requires RandomAccessContainer<typename IS::Types>;
{ is.types(codim) } -> std::same_as<typename IS::Types>;
requires std::integral<typename IS::IndexType>;
{ is.size(type) } -> std::convertible_to<typename IS::IndexType>;
{ is.size(codim) } -> std::convertible_to<typename IS::IndexType>;
} &&
Impl::IndexSetEntityCodim<IS,0> &&
requires (index_constant<1> from, index_constant<IS::dimension+1> to) {
Impl::indexSetEntityAllCodims<IS>(range(from, to).to_integer_sequence());
}
Model of an index set.
Definition concepts/indexidset.hh:44

Detailed Description

Model of an index set.

Dune::Grid::LevelIndexSet and Dune::Grid::LeafIndexSet are templates for this model