5#ifndef DUNE_GRID_CONCEPT_ARCHETYPES_ENTITY_HH
6#define DUNE_GRID_CONCEPT_ARCHETYPES_ENTITY_HH
8#include <dune/geometry/type.hh>
13namespace Dune::Concept::Archetypes {
18 static constexpr int codimension = codim;
19 bool isValid ()
const;
23template <
int dim,
int codim>
26 static constexpr int dimension = dim;
27 static constexpr int codimension = codim;
28 static constexpr int mydimension = dim - codim;
30 using Geometry = Archetypes::Geometry<mydimension,mydimension>;
31 using EntitySeed = Archetypes::EntitySeed<codimension>;
35 Geometry geometry ()
const;
36 Dune::GeometryType type ()
const;
38 EntitySeed seed ()
const;
41 Archetypes::Entity<dim,cc> subEntity (
int i)
const;
43 bool operator== (Entity
const& entity)
const;
44 bool operator!= (Entity
const& entity)
const;
PartitionType
Attributes used in the generic overlap model.
Definition gridenums.hh:30
IteratorRange<... > subEntities(const E &e, Codim< codim > c)
Iterates over all sub-entities of an entity given the codimension of the sub-entities.