Dune Core Modules (2.11.0)
foamgridentity.hh
Go to the documentation of this file.
80 explicit FoamGridEntity(const FoamGridEntityImp<dimgrid-codim, dimgrid, dimworld, ctype>* target) :
136 return Geometry(FoamGridGeometry<dimgrid-codim, dimworld, GridImp>(target_->type(), coordinates));
214 explicit FoamGridEntity(const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>* hostEntity) :
262 return Geometry(FoamGridGeometry<dimgrid, dimworld, const GridImp>(target_->type(), coordinates));
329 return typename Codim<1>::Entity(FoamGridEntity<1, dimgrid, GridImp>(this->target_->facet_[i]));
338 return typename Codim<2>::Entity(FoamGridEntity<2, dimgrid, GridImp>(this->target_->vertex_[i]));
523 explicit FoamGridEntity(const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>* hostEntity) :
571 return Geometry(FoamGridGeometry<dimgrid, dimworld, const GridImp>(target_->type(), coordinates));
636 return typename Codim<1>::Entity(FoamGridEntity<1, dimgrid, GridImp>(this->target_->vertex_[i]));
727 return LocalGeometry(FoamGridGeometry<dimgrid, dimgrid, const GridImp>(target_->type(), coordinates));
unsigned int subEntities(unsigned int codim) const
Number of subentities for a given codimension.
Definition: entity.hh:567
Element specialization of FoamGridEntityImp. Element is a grid entity of topological codimension 0 an...
Definition: foamgridelements.hh:18
unsigned int subEntities(unsigned int codim) const
Definition: foamgridentity.hh:293
PartitionType partitionType() const
The partition type for parallel computing.
Definition: foamgridentity.hh:248
FoamGridEntity(const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > *hostEntity)
Constructor for an entity in a given grid level.
Definition: foamgridentity.hh:214
FoamGridLevelIntersectionIterator< GridImp > ilevelbegin() const
First level intersection.
Definition: foamgridentity.hh:342
FoamGridHierarchicIterator< GridImp > HierarchicIterator
Iterator over descendants of the entity.
Definition: foamgridentity.hh:199
FoamGridHierarchicIterator< GridImp > hbegin(int maxLevel) const
Inter-level access to son elements on higher levels<=maxlevel. This is provided for sparsely stored n...
Definition: foamgridentity.hh:449
bool equals(const Dune::FoamGridEntity< 0, dimgrid, GridImp > &other) const
equality
Definition: foamgridentity.hh:470
int subId(int i, unsigned int codim) const
Return index of sub entity with codim = cc and local number i.
Definition: foamgridentity.hh:301
std::enable_if< codim==1, typenameCodim< 1 >::Entity >::type subEntity(int i) const
Access to codim 1 subentities.
Definition: foamgridentity.hh:326
Geometry geometry() const
Geometry of this entity.
Definition: foamgridentity.hh:254
const FoamGridEntityImp< dimgrid, dimgrid,dimworld, ctype > * target_
pointer to the implementation
Definition: foamgridentity.hh:479
FoamGridLeafIntersectionIterator< GridImp > LeafIntersectionIterator
The Iterator over intersections on the leaf level.
Definition: foamgridentity.hh:196
bool hasFather() const
Return true if this element has a father element.
Definition: foamgridentity.hh:374
void setToTarget(const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > *target)
Make this class point to a new FoamGridEntityImp object.
Definition: foamgridentity.hh:464
FoamGridLeafIntersectionIterator< GridImp > ileafend() const
Reference to one past the last leaf intersection.
Definition: foamgridentity.hh:363
FoamGridEntity & operator=(const FoamGridEntity &original)
Definition: foamgridentity.hh:230
FoamGridEntity()
Default constructor.
Definition: foamgridentity.hh:225
FoamGridLevelIntersectionIterator< GridImp > ilevelend() const
Reference to one past the last neighbor.
Definition: foamgridentity.hh:348
unsigned int count(unsigned int codim) const
Return the number of subEntities of codimension cc.
Definition: foamgridentity.hh:283
FoamGridEntity(const FoamGridEntity &original)
Copy constructor.
Definition: foamgridentity.hh:220
std::enable_if< codim==0, typenameCodim< 0 >::Entity >::type subEntity(int i) const
Access to codim 0 subentities.
Definition: foamgridentity.hh:317
FoamGridLeafIntersectionIterator< GridImp > ileafbegin() const
First leaf intersection.
Definition: foamgridentity.hh:354
LocalGeometry geometryInFather() const
Location of this element relative to the reference element element of the father. This is sufficient ...
Definition: foamgridentity.hh:403
EntitySeed seed() const
Create EntitySeed.
Definition: foamgridentity.hh:266
std::enable_if< codim==2, typenameCodim< 2 >::Entity >::type subEntity(int i) const
Access to codim 2 subentities.
Definition: foamgridentity.hh:335
int count() const
Return the number of subEntities of codimension cc.
Definition: foamgridentity.hh:275
int level() const
Level of this element.
Definition: foamgridentity.hh:241
bool isLeaf() const
returns true if Entity has NO children
Definition: foamgridentity.hh:369
GeometryType type() const
return the entity's type
Definition: foamgridentity.hh:476
FoamGridHierarchicIterator< GridImp > hend(int maxLevel) const
Returns iterator to one past the last son.
Definition: foamgridentity.hh:454
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition: foamgridentity.hh:202
FoamGridLevelIntersectionIterator< GridImp > LevelIntersectionIterator
The Iterator over intersections on this level.
Definition: foamgridentity.hh:193
Geometry geometry() const
geometry of this entity
Definition: foamgridentity.hh:128
FoamGridEntity & operator=(const FoamGridEntity &original)
Definition: foamgridentity.hh:96
void setToTarget(const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *target)
Definition: foamgridentity.hh:149
bool equals(const Dune::FoamGridEntity< codim, dimgrid, GridImp > &other) const
equality
Definition: foamgridentity.hh:155
FoamGridEntity(const FoamGridEntity &original)
Copy constructor.
Definition: foamgridentity.hh:85
PartitionType partitionType() const
The partition type for parallel computing.
Definition: foamgridentity.hh:114
EntitySeed seed() const
Create EntitySeed.
Definition: foamgridentity.hh:140
FoamGridEntity()
Default constructor.
Definition: foamgridentity.hh:90
GeometryType type() const
return the entity's type
Definition: foamgridentity.hh:161
GridImp::template Codim< codim >::EntitySeed EntitySeed
The type of the EntitySeed interface class.
Definition: foamgridentity.hh:75
FoamGridEntity(const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *target)
Constructor for an entity in a given grid level.
Definition: foamgridentity.hh:80
Iterator over the descendants of an entity.Mesh entities of codimension 0 ("elements") allow to visit...
Definition: foamgridhierarchiciterator.hh:24
Iterator over all element neighborsMesh entities of codimension 0 ("elements") allow to visit all nei...
Definition: foamgridintersectioniterators.hh:28
Definition: foamgridindexsets.hh:26
Definition: foamgridintersectioniterators.hh:239
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Different resources needed by all grid implementations.
Various macros to work with Dune module version numbers.
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:132
The FoamGridGeometry class.
PartitionType
Attributes used in the generic overlap model.
Definition: gridenums.hh:30
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Feb 14, 23:39, 2026)