Dune Core Modules (unstable)

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());
}
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Model of an index set.
Definition: indexidset.hh:44

Detailed Description

Model of an index set.

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

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)