|
dune-grid 2.10
|
Loading...
Searching...
No Matches
identitygridentity.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
77 constexpr static int CodimInHostGrid = GridImp::HostGridType::dimension - GridImp::dimension + codim;
80 typedef typename GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Entity HostGridEntity;
211 constexpr static int CodimInHostGrid = GridImp::HostGridType::dimension - GridImp::dimension;
214 typedef typename GridImp::HostGridType::Traits::template Codim<CodimInHostGrid>::Entity HostGridEntity;
330 return IdentityGridEntity<cc,dim,GridImp>(identityGrid_, hostEntity_.template subEntity<cc>(i));
size_type dim() const
std::ptrdiff_t index() const
PartitionType
Attributes used in the generic overlap model.
Definition gridenums.hh:30
STL namespace.
Include standard header files.
Default Implementations for EntityImp.
Definition common/entity.hh:542
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition common/entity.hh:576
provides access to host grid objects from GeometryGrid
Definition identitygrid.hh:37
The implementation of entities in a IdentityGrid.
Definition identitygridentity.hh:55
IdentityGridEntity & operator=(IdentityGridEntity &&original)
Definition identitygridentity.hh:127
IdentityGridEntity(IdentityGridEntity &&original)
Definition identitygridentity.hh:110
bool equals(const IdentityGridEntity &other) const
Definition identitygridentity.hh:137
GridImp::template Codim< codim >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition identitygridentity.hh:88
EntitySeed seed() const
Create EntitySeed.
Definition identitygridentity.hh:148
IdentityGridEntity(const GridImp *identityGrid, const HostGridEntity &hostEntity)
Definition identitygridentity.hh:94
Geometry geometry() const
geometry of this entity
Definition identitygridentity.hh:173
PartitionType partitionType() const
The partition type for parallel computing.
Definition identitygridentity.hh:161
unsigned int subEntities(unsigned int cc) const
Return the number of subEntities of codimension codim.
Definition identitygridentity.hh:167
IdentityGridEntity(const IdentityGridEntity &original)
Definition identitygridentity.hh:105
IdentityGridEntity(const GridImp *identityGrid, HostGridEntity &&hostEntity)
Definition identitygridentity.hh:99
bool hasFather() const
returns true if father entity exists
Definition identitygridentity.hh:143
GridImp::template Codim< codim >::Geometry Geometry
Definition identitygridentity.hh:85
IdentityGridEntity & operator=(const IdentityGridEntity &original)
Definition identitygridentity.hh:116
int level() const
level of this element
Definition identitygridentity.hh:154
Definition identitygridintersectioniterator.hh:84
Iterator over all element neighborsMesh entities of codimension 0 ("elements") allow to visit all nei...
Definition identitygridintersectioniterator.hh:29
Iterator over the descendants of an entity.Mesh entities of codimension 0 ("elements") allow to visit...
Definition identitygridhierarchiciterator.hh:26
unsigned int subEntities(unsigned int codim) const
Return the number of subEntities of codimension codim.
Definition identitygridentity.hh:319
IdentityGridEntity(const GridImp *identityGrid, HostGridEntity &&hostEntity)
Definition identitygridentity.hh:243
bool isLeaf() const
returns true if Entity has NO children
Definition identitygridentity.hh:367
IdentityGridHierarchicIterator< GridImp > hbegin(int maxLevel) const
Inter-level access to son elements on higher levels<=maxlevel. This is provided for sparsely stored n...
Definition identitygridentity.hh:398
GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
Definition identitygridentity.hh:218
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition identitygridentity.hh:230
EntitySeed seed() const
Create EntitySeed.
Definition identitygridentity.hh:292
IdentityGridLevelIntersectionIterator< GridImp > ilevelbegin() const
First level intersection.
Definition identitygridentity.hh:335
IdentityGridEntity(const GridImp *identityGrid, const HostGridEntity &hostEntity)
Definition identitygridentity.hh:238
int level() const
Level of this element.
Definition identitygridentity.hh:298
IdentityGridLeafIntersectionIterator< GridImp > ileafbegin() const
First leaf intersection.
Definition identitygridentity.hh:351
HostGridEntity hostEntity_
Definition identitygridentity.hh:435
IdentityGridEntity & operator=(const IdentityGridEntity &original)
Definition identitygridentity.hh:260
Geometry geometry() const
Geometry of this entity.
Definition identitygridentity.hh:311
IdentityGridLevelIntersectionIterator< GridImp > ilevelend() const
Reference to one past the last neighbor.
Definition identitygridentity.hh:343
IdentityGridEntity(const IdentityGridEntity &original)
Definition identitygridentity.hh:249
IdentityGridHierarchicIterator< GridImp > hend(int maxLevel) const
Returns iterator to one past the last son.
Definition identitygridentity.hh:405
IdentityGridLeafIntersectionIterator< GridImp > ileafend() const
Reference to one past the last leaf intersection.
Definition identitygridentity.hh:359
bool wasRefined() const
Definition identitygridentity.hh:412
IdentityGridEntity & operator=(IdentityGridEntity &&original)
Definition identitygridentity.hh:271
bool hasFather() const
returns true if father entity exists
Definition identitygridentity.hh:287
GridImp::HostGridType::Traits::template Codim< CodimInHostGrid >::Entity HostGridEntity
Definition identitygridentity.hh:214
GridImp::template Codim< 0 >::Entity father() const
Definition identitygridentity.hh:374
bool mightBeCoarsened() const
Definition identitygridentity.hh:424
LocalGeometry geometryInFather() const
Location of this element relative to the reference element element of the father. This is sufficient ...
Definition identitygridentity.hh:388
const GridImp * identityGrid_
Definition identitygridentity.hh:436
GridImp::template Codim< cc >::Entity subEntity(int i) const
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
Definition identitygridentity.hh:329
IdentityGridEntity(IdentityGridEntity &&original)
Definition identitygridentity.hh:254
GridImp::template Codim< 0 >::Geometry Geometry
Definition identitygridentity.hh:216
bool equals(const IdentityGridEntity &other) const
Definition identitygridentity.hh:281
PartitionType partitionType() const
The partition type for parallel computing.
Definition identitygridentity.hh:305
Definition identitygridindexsets.hh:26
Definition identitygridindexsets.hh:96
Definition identitygridindexsets.hh:185
Definition identitygridindexsets.hh:237
Different resources needed by all grid implementations.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8