5#ifndef DUNE_GRID_CONCEPT_ARCHETYPES_ENTITY_HH
6#define DUNE_GRID_CONCEPT_ARCHETYPES_ENTITY_HH
8#include <dune/geometry/type.hh>
14namespace Dune::Concept::Archetypes {
19 static constexpr int codimension = codim;
20 bool isValid ()
const;
24template <
int dim,
int codim>
27 static constexpr int dimension = dim;
28 static constexpr int codimension = codim;
29 static constexpr int mydimension = dim - codim;
31 using Geometry = Archetypes::Geometry<mydimension,mydimension>;
32 using EntitySeed = Archetypes::EntitySeed<codimension>;
36 Geometry geometry ()
const;
37 Dune::GeometryType type ()
const;
38 unsigned int subEntities (
int cd)
const;
39 EntitySeed seed ()
const;
42 Archetypes::Entity<dim,cc> subEntity (
int i)
const;
44 bool operator== (Entity
const& entity)
const;
45 bool operator!= (Entity
const& entity)
const;
PartitionType
Attributes used in the generic overlap model.
Definition gridenums.hh:30