|
dune-geometry 2.8.0
|
Loading...
Searching...
No Matches
typeindex.hh
Go to the documentation of this file.
156 return Dune::Hybrid::switchCases(allIndices, LocalGeometryTypeIndex::index(gt), callWithId, fallBack);
A unique label for each type of element that can occur in a grid.
constexpr index_constant< 0 > _0
constexpr decltype(auto) switchCases(const Cases &cases, const Value &value, Branches &&branches, ElseBranch &&elseBranch)
size_type dim() const
std::ptrdiff_t index() const
Unique label for each type of entities that can occur in DUNE grids.
Definition type.hh:124
Compute per-dimension indices for geometry types.
Definition typeindex.hh:23
static constexpr std::size_t size(std::size_t dim)
Compute total number of geometry types for the given dimension.
Definition typeindex.hh:59
static constexpr GeometryType type(std::size_t dim, std::size_t index)
compute the geometry type for the given local index and dimension
Definition typeindex.hh:77
static constexpr std::size_t index(const GeometryType >)
Compute the index for the given geometry type within its dimension.
Definition typeindex.hh:71
Compute indices for geometry types, taking the dimension into account.
Definition typeindex.hh:88
static constexpr std::size_t index(const GeometryType >)
Compute the index for the given geometry type over all dimensions.
Definition typeindex.hh:136
static constexpr std::size_t offset(std::size_t dim)
Compute the starting index for a given dimension including irregular geometry types.
Definition typeindex.hh:111
static constexpr std::size_t size(std::size_t maxdim)
Compute total number of geometry types up to and including the given dimension.
Definition typeindex.hh:123
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8