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

Public Types | |
| typedef GridImp::template HostGridEntity< 0 > | HostGridEntity |
| typedef GridImp::template Codim< 0 >::Geometry | Geometry |
| typedef GridImp::template Codim< 0 >::LocalGeometry | LocalGeometry |
| typedef Geometry::GlobalCoordinate | GlobalCoordinate |
| typedef GridImp::ctype | ctype |
| typedef GridImp | Grid |
| typedef MMeshLeafIntersectionIterator< 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. | |
| using | ConnectedComponent = MMeshConnectedComponent< GridImp > |
| The type of a ConnectedComponent. | |
| using | IdType = MMeshImpl::MultiId |
| define the type used for persistent indices | |
| using | VertexStorage = std::array< GlobalCoordinate, dim+1 > |
| define the type used for storage the vertices of a caching entity | |
Public Member Functions | |
| MMeshEntity () | |
| MMeshEntity (const GridImp *mMesh, const HostGridEntity &hostEntity) | |
| MMeshEntity (const GridImp *mMesh, HostGridEntity &&hostEntity) | |
| MMeshEntity (const GridImp *mMesh, const HostGridEntity &hostEntity, const IdType &id) | |
| MMeshEntity (const GridImp *mMesh, const VertexStorage &vertex) | |
| MMeshEntity (const MMeshEntity &original) | |
| MMeshEntity (MMeshEntity &&original) | |
| MMeshEntity & | operator= (const MMeshEntity &original) |
| MMeshEntity & | operator= (MMeshEntity &&original) |
| bool | equals (const MMeshEntity &other) const |
| returns true if host entities are equal | |
| bool | operator== (const MMeshEntity &other) const |
| returns true if host entities are equal | |
| bool | operator< (const MMeshEntity &other) const |
| returns true if host entities are equal | |
| MMeshEntity | father () const |
| returns the father entity | |
| bool | hasFather () const |
| returns true if father entity exists | |
| const ConnectedComponent & | connectedComponent () const |
| const bool | isNew () const |
| returns true if this entity is new after adaptation | |
| void | setIsNew (bool isNew) const |
| set if this entity is new after adaptation | |
| const bool | mightVanish () const |
| returns true if this entity will vanish 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. | |
| int | level () const |
| Level of this element. | |
| PartitionType | partitionType () const |
| The partition type for parallel computing. | |
| Geometry | geometry () const |
| Geometry of this entity. | |
| void | bindFather (const EntityType &father) |
| LocalGeometry | geometryInFather () const |
| unsigned int | subEntities (unsigned int 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 (unsigned int 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 (unsigned int i) const |
| template<int cc> | |
| std::enable_if_t< cc==1, typename GridImp::template Codim< cc >::Entity > | subEntity (unsigned int i) const |
| template<int cc> | |
| std::enable_if_t< cc==2 &&dim==3, typename GridImp::template Codim< cc >::Entity > | subEntity (unsigned int i) const |
| MMeshLeafIntersectionIterator< GridImp > | ileafbegin () const |
| First leaf intersection. | |
| MMeshLeafIntersectionIterator< GridImp > | ileafend () const |
| Reference to one past the last leaf intersection. | |
| MMeshLeafIntersectionIterator< GridImp > | ilevelbegin () const |
| We only have one level. | |
| MMeshLeafIntersectionIterator< GridImp > | ilevelend () const |
| MMeshHierarchicIterator< GridImp > | hbegin (int maxlevel) const |
| First hierarchic entity, i.e. this entity, because we only have one level. | |
| MMeshHierarchicIterator< GridImp > | hend (int maxlevel) const |
| Reference to one past the last hierarchic entity. | |
| bool | isLeaf () const |
| returns true if Entity has no children | |
| bool | wasRefined () const |
| returns if grid was refined | |
| bool | mightBeCoarsened () const |
| returns if grid might be coarsened | |
| GeometryType | type () const |
| returns the geometry type | |
| std::size_t | domainMarker () const |
| Return domain marker of entity. | |
| const HostGridEntity & | hostEntity () const |
| Return the host entity. | |
| HostGridEntity & | hostEntity () |
| Return the host entity. | |
| const GridImp & | grid () const |
| Return the host grid. | |
| IdType | id () const |
| Return id computed by vertex ids. | |
Protected Attributes | |
| VertexStorage | vertex_ |
| the vertices of the host entity object of this entity (for caching entity) | |
| const EntityType * | father_ |
Friends | |
| struct | HostGridAccess< typename std::remove_const< GridImp >::type > |
Detailed Description
The implementation of entities in MMesh.
Member Typedef Documentation
◆ ConnectedComponent
| using Dune::MMeshEntity< 0, dim, GridImp >::ConnectedComponent = MMeshConnectedComponent<GridImp> |
The type of a ConnectedComponent.
◆ ctype
| typedef GridImp::ctype Dune::MMeshEntity< 0, dim, GridImp >::ctype |
◆ EntitySeed
| typedef GridImp::template Codim<0>::EntitySeed Dune::MMeshEntity< 0, dim, GridImp >::EntitySeed |
The type of the EntitySeed interface class.
◆ Geometry
| typedef GridImp::template Codim<0>::Geometry Dune::MMeshEntity< 0, dim, GridImp >::Geometry |
◆ GlobalCoordinate
| typedef Geometry::GlobalCoordinate Dune::MMeshEntity< 0, dim, GridImp >::GlobalCoordinate |
◆ Grid
| typedef GridImp Dune::MMeshEntity< 0, dim, GridImp >::Grid |
◆ HierarchicIterator
| typedef MMeshHierarchicIterator<GridImp> Dune::MMeshEntity< 0, dim, GridImp >::HierarchicIterator |
Iterator over descendants of the entity.
◆ HostGridEntity
| typedef GridImp::template HostGridEntity<0> Dune::MMeshEntity< 0, dim, GridImp >::HostGridEntity |
◆ IdType
| using Dune::MMeshEntity< 0, dim, GridImp >::IdType = MMeshImpl::MultiId |
define the type used for persistent indices
◆ LeafIntersectionIterator
| typedef MMeshLeafIntersectionIterator<GridImp> Dune::MMeshEntity< 0, dim, GridImp >::LeafIntersectionIterator |
The Iterator over intersections on the leaf level.
◆ LocalGeometry
| typedef GridImp::template Codim<0>::LocalGeometry Dune::MMeshEntity< 0, dim, GridImp >::LocalGeometry |
◆ VertexStorage
| using Dune::MMeshEntity< 0, dim, GridImp >::VertexStorage = std::array<GlobalCoordinate, dim + 1> |
define the type used for storage the vertices of a caching entity
Constructor & Destructor Documentation
◆ MMeshEntity() [1/7]
|
inline |
◆ MMeshEntity() [2/7]
|
inline |
◆ MMeshEntity() [3/7]
|
inline |
◆ MMeshEntity() [4/7]
|
inline |
◆ MMeshEntity() [5/7]
|
inline |
◆ MMeshEntity() [6/7]
|
inline |
◆ MMeshEntity() [7/7]
|
inline |
Member Function Documentation
◆ bindFather()
|
inline |
◆ connectedComponent()
|
inline |
◆ domainMarker()
|
inline |
Return domain marker of entity.
◆ equals()
|
inline |
returns true if host entities are equal
◆ father()
|
inline |
returns the father entity
◆ geometry()
|
inline |
Geometry of this entity.
◆ geometryInFather()
|
inline |
Geometry of this entity in bounded father entity ( assumption: this \subset father )
◆ getMark()
|
inline |
get mark of entity
◆ grid()
|
inline |
Return the host grid.
◆ hasFather()
|
inline |
returns true if father entity exists
◆ hbegin()
|
inline |
First hierarchic entity, i.e. this entity, because we only have one level.
◆ hend()
|
inline |
Reference to one past the last hierarchic entity.
◆ hostEntity() [1/2]
|
inline |
Return the host entity.
◆ hostEntity() [2/2]
|
inline |
Return the host entity.
◆ id()
|
inline |
Return id computed by vertex ids.
◆ ileafbegin()
|
inline |
First leaf intersection.
◆ ileafend()
|
inline |
Reference to one past the last leaf intersection.
◆ ilevelbegin()
|
inline |
We only have one level.
◆ ilevelend()
|
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()
|
inline |
mark entity for refine or coarse
◆ mightBeCoarsened()
|
inline |
returns if grid might be coarsened
◆ mightVanish()
|
inline |
returns true if this entity will vanish after adaptation
◆ operator<()
|
inline |
returns true if host entities are equal
◆ operator=() [1/2]
|
inline |
◆ operator=() [2/2]
|
inline |
◆ operator==()
|
inline |
returns true if host entities are equal
◆ partitionType()
|
inline |
The partition type for parallel computing.
◆ seed()
|
inline |
Create EntitySeed.
◆ setIsNew()
|
inline |
set if this entity is new after adaptation
◆ setWillVanish()
|
inline |
set if this entity will vanish after adaptation
◆ subEntities()
Return the number of subEntities of codimension cc.
◆ subEntity() [1/4]
|
inline |
Provide access to sub entity i of given codimension. Entities are numbered 0 ... subEntities(cc)-1.
◆ subEntity() [2/4]
|
inline |
◆ subEntity() [3/4]
|
inline |
◆ subEntity() [4/4]
|
inline |
◆ type()
|
inline |
returns the geometry type
◆ wasRefined()
|
inline |
returns if grid was refined
Friends And Related Symbol Documentation
◆ HostGridAccess< typename std::remove_const< GridImp >::type >
|
friend |
Member Data Documentation
◆ father_
|
protected |
◆ vertex_
|
protected |
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