|
dune-mmesh 1.4.1-git
|
The implementation of caching entities in a MMesh interface grid. More...
#include <dune/mmesh/interface/cachingentity.hh>

Public Types | |
| typedef AffineGeometry< ctype, dim, dim+1 > | Geometry |
| typedef Geometry::GlobalCoordinate | GlobalCoordinate |
| typedef GridImp::template MMeshInterfaceEntity< 0 > | MMeshInterfaceEntity |
| typedef GridImp::template MMeshInterfaceEntity< dim > | MMeshInterfaceVertex |
| typedef GridImp::template Codim< 0 >::LocalGeometry | LocalGeometry |
| typedef MMeshInterfaceGridLeafIntersectionIterator< GridImp > | LeafIntersectionIterator |
| The Iterator over intersections on the leaf level. | |
| typedef MMeshHierarchicIterator< GridImp > | HierarchicIterator |
| Iterator over descendants of the entity. | |
| typedef GridImp::template Codim< 0 >::EntitySeed | EntitySeed |
| The type of the EntitySeed interface class. | |
| typedef GridImp::ConnectedComponent | ConnectedComponent |
| The type of the connected component. | |
| typedef Geometry::LocalCoordinate | LocalCoordinate |
| using | VertexStorage = std::array< GlobalCoordinate, dim+1 > |
| define the type used for storage the vertices of a caching entity | |
Public Member Functions | |
| MMeshInterfaceCachingEntity ()=delete | |
| MMeshInterfaceCachingEntity (const Element &element) | |
| bool | equals (const MMeshInterfaceCachingEntity &other) const |
| returns true if host entities are equal | |
| bool | operator== (const MMeshInterfaceCachingEntity &other) const |
| returns true if host entities are equal | |
| bool | operator== (const MMeshEntity &entity) const |
| returns true if caching entity has same id like mmesh entity | |
| bool | operator< (const MMeshInterfaceCachingEntity &other) const |
| returns true if id of other is greater | |
| bool | hasFather () const |
| returns true if father entity exists | |
| const bool | isNew () const |
| returns true if this entity is new after adaptation | |
| const bool | mightVanish () const |
| returns true if this entity will vanish after adaptation | |
| int | level () const |
| Level of this element. | |
| PartitionType | partitionType () const |
| The partition type for parallel computing. | |
| Geometry | geometry () const |
| Geometry of this entity. | |
| unsigned int | subEntities (unsigned int cc) const |
| Return the number of subEntities of codimension cc. | |
| bool | isLeaf () const |
| returns true if Entity has no children | |
| ctype | intersectionVolume (const MMeshEntity &entity) const |
| template<int d = dim> | |
| std::enable_if_t< d==1, bool > | equals (const MMeshInterfaceGridEntity &other) const |
| bool | operator== (const MMeshInterfaceGridEntity &other) const |
| returns true if host entities are equal | |
| bool | operator< (const MMeshInterfaceGridEntity &other) const |
| returns true if host entities are equal | |
| const ConnectedComponent & | connectedComponent () const |
| returns the connected component | |
| bool | hasConnectedComponent () const |
| returns true if a connected component exists | |
| auto | father () const |
| returns the father entity | |
| void | bindFather (const EntityType &father) const |
| LocalGeometry | geometryInFather () const |
| void | setIsNew (bool isNew) const |
| set if this entity is new after adaptation | |
| void | setWillVanish (bool mightVanish) const |
| set if this entity will vanish after adaptation | |
| void | mark (int refCount) const |
| mark entity for refine or coarse | |
| int | getMark () const |
| get mark of entity | |
| EntitySeed | seed () const |
| Create EntitySeed. | |
| std::size_t | subEntities (std::size_t cc) const |
| Return the number of subEntities of codimension cc. | |
| template<int cc> | |
| std::enable_if_t< cc==0, typename GridImp::template Codim< cc >::Entity > | subEntity (std::size_t i) const |
| Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1. | |
| template<int cc> | |
| std::enable_if_t< cc==dim, typename GridImp::template Codim< cc >::Entity > | subEntity (std::size_t i) const |
| Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1. | |
| template<int cc> | |
| std::enable_if_t< cc==1 &&dim==2, typename GridImp::template Codim< cc >::Entity > | subEntity (std::size_t i) const |
| Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1. | |
| MMeshInterfaceGridLeafIntersectionIterator< GridImp > | ileafbegin () const |
| First leaf intersection. | |
| MMeshInterfaceGridLeafIntersectionIterator< GridImp > | ileafend () const |
| Reference to one past the last leaf intersection. | |
| MMeshInterfaceGridLeafIntersectionIterator< GridImp > | ilevelbegin () const |
| We only have one level. | |
| MMeshInterfaceGridLeafIntersectionIterator< GridImp > | ilevelend () const |
| MMeshInterfaceGridHierarchicIterator< GridImp > | hbegin (int maxlevel) const |
| First hierarchic entity, i.e. this entity, because we only have one level. | |
| MMeshInterfaceGridHierarchicIterator< GridImp > | hend (int maxlevel) const |
| Reference to one past the last hierarchic entity. | |
| bool | wasRefined () const |
| returns if grid was refined | |
| bool | mightBeCoarsened () const |
| returns if grid might be coarsened | |
| GeometryType | type () const |
| returns the geometry type | |
| const MMeshInterfaceEntity & | hostEntity () const |
| returns the host entity | |
| const GridImp & | grid () const |
| returns the host entity | |
| IdType | id () const |
| return cached id | |
Protected Attributes | |
| VertexStorage | vertex_ |
| the vertices of the host entity object of this entity (for caching entity) | |
| const EntityType * | father_ |
Friends | |
| template<class GridImp_ > | |
| class | MMeshInterfaceGridLeafIndexSet |
| template<class GridImp_ > | |
| class | MMeshInterfaceGridLocalIdSet |
| template<class GridImp_ > | |
| class | MMeshInterfaceGridGlobalIdSet |
Detailed Description
class Dune::MMeshInterfaceCachingEntity< 0, dim, GridImp >
The implementation of caching entities in a MMesh interface grid.
Member Typedef Documentation
◆ ConnectedComponent
|
inherited |
The type of the connected component.
◆ EntitySeed
|
inherited |
The type of the EntitySeed interface class.
◆ Geometry
| typedef AffineGeometry<ctype, dim, dim + 1> Dune::MMeshInterfaceCachingEntity< 0, dim, GridImp >::Geometry |
◆ GlobalCoordinate
| typedef Geometry::GlobalCoordinate Dune::MMeshInterfaceCachingEntity< 0, dim, GridImp >::GlobalCoordinate |
◆ HierarchicIterator
|
inherited |
Iterator over descendants of the entity.
◆ LeafIntersectionIterator
|
inherited |
The Iterator over intersections on the leaf level.
◆ LocalCoordinate
|
inherited |
◆ LocalGeometry
|
inherited |
◆ MMeshInterfaceEntity
|
inherited |
◆ MMeshInterfaceVertex
|
inherited |
◆ VertexStorage
|
inherited |
define the type used for storage the vertices of a caching entity
Constructor & Destructor Documentation
◆ MMeshInterfaceCachingEntity() [1/2]
|
delete |
◆ MMeshInterfaceCachingEntity() [2/2]
|
inlineexplicit |
Member Function Documentation
◆ bindFather()
|
inlineinherited |
◆ connectedComponent()
|
inlineinherited |
returns the connected component
◆ equals() [1/2]
|
inline |
returns true if host entities are equal
◆ equals() [2/2]
|
inlineinherited |
◆ father()
|
inlineinherited |
returns the father entity
◆ geometry()
|
inline |
Geometry of this entity.
◆ geometryInFather()
|
inlineinherited |
Geometry of this entity in bounded father entity ( assumption: this \subset father )
◆ getMark()
|
inlineinherited |
get mark of entity
◆ grid()
|
inlineinherited |
returns the host entity
◆ hasConnectedComponent()
|
inlineinherited |
returns true if a connected component exists
◆ hasFather()
|
inline |
returns true if father entity exists
◆ hbegin()
|
inlineinherited |
First hierarchic entity, i.e. this entity, because we only have one level.
◆ hend()
|
inlineinherited |
Reference to one past the last hierarchic entity.
◆ hostEntity()
|
inlineinherited |
returns the host entity
◆ id()
|
inlineinherited |
return cached id
◆ ileafbegin()
|
inlineinherited |
First leaf intersection.
◆ ileafend()
|
inlineinherited |
Reference to one past the last leaf intersection.
◆ ilevelbegin()
|
inlineinherited |
We only have one level.
◆ ilevelend()
|
inlineinherited |
◆ intersectionVolume()
|
inline |
◆ isLeaf()
|
inline |
returns true if Entity has no children
◆ isNew()
|
inline |
returns true if this entity is new after adaptation
◆ level()
|
inline |
Level of this element.
◆ mark()
|
inlineinherited |
mark entity for refine or coarse
◆ mightBeCoarsened()
|
inlineinherited |
returns if grid might be coarsened
◆ mightVanish()
|
inline |
returns true if this entity will vanish after adaptation
◆ operator<() [1/2]
|
inline |
returns true if id of other is greater
◆ operator<() [2/2]
|
inlineinherited |
returns true if host entities are equal
◆ operator==() [1/3]
|
inline |
returns true if caching entity has same id like mmesh entity
◆ operator==() [2/3]
|
inline |
returns true if host entities are equal
◆ operator==() [3/3]
|
inlineinherited |
returns true if host entities are equal
◆ partitionType()
|
inline |
The partition type for parallel computing.
◆ seed()
|
inlineinherited |
Create EntitySeed.
◆ setIsNew()
|
inlineinherited |
set if this entity is new after adaptation
◆ setWillVanish()
|
inlineinherited |
set if this entity will vanish after adaptation
◆ subEntities() [1/2]
|
inlineinherited |
Return the number of subEntities of codimension cc.
◆ subEntities() [2/2]
|
inline |
Return the number of subEntities of codimension cc.
◆ subEntity() [1/3]
|
inlineinherited |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
◆ subEntity() [2/3]
|
inlineinherited |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
◆ subEntity() [3/3]
|
inlineinherited |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
◆ type()
|
inlineinherited |
returns the geometry type
◆ wasRefined()
|
inlineinherited |
returns if grid was refined
Friends And Related Symbol Documentation
◆ MMeshInterfaceGridGlobalIdSet
|
friend |
◆ MMeshInterfaceGridLeafIndexSet
|
friend |
◆ MMeshInterfaceGridLocalIdSet
|
friend |
Member Data Documentation
◆ father_
|
mutableprotectedinherited |
◆ vertex_
|
protectedinherited |
the vertices of the host entity object of this entity (for caching entity)
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8