Dune Core Modules (2.4.1)
entity.hh
105 };
109 };
113 };
172 DUNE_DEPRECATED_MSG("EntityPointer is deprecated and will be removed after the release of dune-grid-2.4. Instead, you can copy and store entities directly now.")
184 DUNE_DEPRECATED_MSG("EntityPointer is deprecated and will be removed after the release of dune-grid-2.4. Instead, you can copy and store entities directly now.")
223 DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
234 DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
344 };
348 };
352 };
399 DUNE_DEPRECATED_MSG("EntityPointer is deprecated and will be removed after the release of dune-grid-2.4. Instead, you can copy and store entities directly now.")
411 DUNE_DEPRECATED_MSG("EntityPointer is deprecated and will be removed after the release of dune-grid-2.4. Instead, you can copy and store entities directly now.")
450 DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
461 DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
482 template<int codim> int DUNE_DEPRECATED_MSG("Use subEntities(unsigned int) instead!") count () const { return realEntity.template count<codim>(); }
496 // The following ugly helper struct is here to work around deficiencies in the decltype() implementation
498 // If we try to merge the two typedefs in the struct and put them directly into the return value of
499 // subEntity(), GCC 4.4 dies with an internal compiler error complaining that mangling of template_id_name
501 // So we put everything into this separate struct and just instantiate it in the signature of subEntity()
509 // it would be more readable to use std::declval() here, but that's another thing that's missing
840 const EntityImp<0,dim,GridImp>& asImp () const { return static_cast<const EntityImp<0,dim,GridImp>&>(*this); }
bool isNew() const
Returns true, if the entity has been created during the last call to adapt()
Definition: entity.hh:816
bool isRegular() const
Returns true if element is of regular type in red/green type refinement. In bisection or hanging node...
Definition: entity.hh:807
bool hasBoundaryIntersections() const
Returns true, if entity has intersections with boundary, this implementation uses the Level- and Leaf...
Definition: entity.hh:826
GridImp::template Codim< 0 >::EntityPointer EntityPointer
The corresponding entity seed (for storage of entities)
Definition: entity.hh:802
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:799
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:812
bool mightVanish() const
Returns true, if entity might disappear during the next call to adapt()
Definition: entity.hh:820
GridImp::template Codim< cd >::EntityPointer EntityPointer
The corresponding entity seed (for storage of entities)
Definition: entity.hh:755
GridImp::template Codim< cd >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:752
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:760
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:374
bool mightVanish() const
Returns true, if entity might disappear during the next call to adapt(). If the method returns false,...
Definition: entity.hh:664
HierarchicIterator hend(int maxLevel) const
Returns iterator to one past the last son element.
Definition: entity.hh:651
GridImp::template Codim< 0 >::Geometry Geometry
The geometry type of this entity.
Definition: entity.hh:313
const Entity & operator*() const DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
Dereference Entity to itself for backwards compatibility with EntityPointer.
Definition: entity.hh:449
Entity & operator=(const Entity &other)
Copy assignment operator from an existing entity.
Definition: entity.hh:431
unsigned int subEntities(unsigned int codim) const
Number of subentities with codimension codim.
Definition: entity.hh:489
Codim< codim >::Entity subEntity(int i) const
Obtain a subentity.
Definition: entity.hh:546
Entity(EntityImp< 0, dim, GridImp > &&e)
Move constructor from EntityImp.
Definition: entity.hh:681
Entity(Entity &&other)
Move constructor from an existing entity.
Definition: entity.hh:426
Entity father() const
Inter-level access to father entity on the next-coarser grid. The given entity resulted directly from...
Definition: entity.hh:564
Entity & operator=(Entity &&other)
Move assignment operator from an existing entity.
Definition: entity.hh:438
Entity(const EntityImp< 0, dim, GridImp > &e)
Copy constructor from EntityImp.
Definition: entity.hh:678
int DUNE_DEPRECATED_MSG("Use subEntities(unsigned int) instead!") count() const
Number of subentities with codimension cc.
Definition: entity.hh:482
HierarchicIterator hbegin(int maxLevel) const
Inter-level access to elements that resulted from (recursive) subdivision of this element.
Definition: entity.hh:639
bool hasBoundaryIntersections() const
Returns true, if entity has intersections with boundary.
Definition: entity.hh:668
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition: entity.hh:379
Entity(const Entity &other)
Copy constructor from an existing entity.
Definition: entity.hh:421
Geometry geometry() const
obtain geometric realization of the entity
Definition: entity.hh:369
bool operator==(const Entity &other) const
Compares two entities for equality.
Definition: entity.hh:382
bool hasFather() const
Return true if entity has a father entity which can be accessed using the father() method.
Definition: entity.hh:585
int level() const
The level of this entity.
Definition: entity.hh:363
GridImp::template Codim< 0 >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:316
GridImp::template Codim< 0 >::LocalGeometry LocalGeometry
The geometry type of this entity when the geometry is expressed embedded in the father element.
Definition: entity.hh:325
bool isNew() const
Returns true, if the entity has been created during the last call to adapt()
Definition: entity.hh:658
bool isLeaf() const
Returns true if the entity is contained in the leaf grid.
Definition: entity.hh:591
PartitionType partitionType() const
Partition type of this entity.
Definition: entity.hh:366
const Implementation & impl() const
Return const reference to the real implementation.
Definition: entity.hh:299
bool isRegular() const
Returns true if element is of regular type in red/green type refinement. In bisection or hanging node...
Definition: entity.hh:599
bool operator!=(const Entity &other) const
Compares two entities for inequality.
Definition: entity.hh:388
LocalGeometry geometryInFather() const
Provides information how this element has been subdivided from its father element.
Definition: entity.hh:626
const Entity * operator->() const DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
Dereference Entity to itself for backwards compatibility with EntityPointer.
Definition: entity.hh:460
GridImp::template Codim< 0 >::EntityPointer EntityPointer
The codim==0 EntityPointer type.
Definition: entity.hh:336
GridImp::HierarchicIterator HierarchicIterator
The HierarchicIterator type.
Definition: entity.hh:339
const Implementation & impl() const
Return const reference to the real implementation.
Definition: entity.hh:83
bool operator!=(const Entity &other) const
Compares two entities for inequality.
Definition: entity.hh:161
PartitionType partitionType() const
Partition type of this entity.
Definition: entity.hh:128
Entity & operator=(Entity &&other)
Move assignment operator from an existing entity.
Definition: entity.hh:211
Entity(Entity &&other)
Move constructor from an existing entity.
Definition: entity.hh:199
@ mydimension
Dimensionality of the reference element of the entity.
Definition: entity.hh:112
EntitySeed seed() const
Return the entity seed which contains sufficient information to generate the entity again and uses as...
Definition: entity.hh:152
Geometry geometry() const
obtain geometric realization of the entity
Definition: entity.hh:142
Entity & operator=(const Entity &other)
Copy assignment operator from an existing entity.
Definition: entity.hh:204
const Entity * operator->() const DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
Dereference Entity to itself for backwards compatibility with EntityPointer.
Definition: entity.hh:233
GridImp::template Codim< cd >::Geometry Geometry
The corresponding geometry type.
Definition: entity.hh:97
GridImp::template Codim< cd >::EntitySeed EntitySeed
The corresponding entity seed (for storage of entities)
Definition: entity.hh:100
Implementation & impl()
Return reference to the real implementation.
Definition: entity.hh:81
Entity(const Entity &other)
Copy constructor from an existing entity.
Definition: entity.hh:194
bool operator==(const Entity &other) const
Compares two entities for equality.
Definition: entity.hh:155
Entity(const EntityImp< cd, dim, GridImp > &e)
Copy constructor from EntityImp.
Definition: entity.hh:248
const Entity & operator*() const DUNE_DEPRECATED_MSG("This is now an Entity instead of an EntityPointer. You do not have to dereference it anymore!")
Dereference Entity to itself for backwards compatibility with EntityPointer.
Definition: entity.hh:222
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: entity.hh:147
Entity(EntityImp< cd, dim, GridImp > &&e)
Move constructor from EntityImp.
Definition: entity.hh:251
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:25
Definition: grid.hh:1030
Mesh entities of codimension 0 ("elements") allow to visit all intersections with "neighboring" eleme...
Definition: intersectioniterator.hh:84
Wrapper and interface class for a static iterator (EntityPointer)
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
PartitionType
Attributes used in the generic overlap model.
Definition: gridenums.hh:28
STL namespace.
Traits for type conversions and type information.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)