|
dune-mmesh 1.4.1-git
|
The implementation of entities in a MMesh. More...
#include <dune/mmesh/grid/entity.hh>
Public Types | |
| typedef GridImp::template Codim< codim >::Geometry | Geometry |
| The type of the Geometry interface class. | |
| typedef GridImp::template Codim< codim >::EntitySeed | EntitySeed |
| The type of the EntitySeed interface class. | |
Public Member Functions | |
| MMeshEntity () | |
| MMeshEntity (const GridImp *mMesh, const HostGridEntity &hostEntity) | |
| MMeshEntity (const GridImp *mMesh, HostGridEntity &&hostEntity) | |
| MMeshEntity (const MMeshEntity &original) | |
| MMeshEntity (MMeshEntity &&original) | |
| MMeshEntity & | operator= (const MMeshEntity &original) |
| MMeshEntity & | operator= (MMeshEntity &&original) |
| template<int cc = codim> | |
| std::enable_if_t< cc==dim, bool > | equals (const MMeshEntity &other) const |
| template<int cc = codim> | |
| std::enable_if_t< cc==1 &&dim==2, bool > | equals (const MMeshEntity &other) const |
| template<int cc = codim> | |
| std::enable_if_t< cc==1 &&dim==3, bool > | equals (const MMeshEntity &other) const |
| template<int cc = codim> | |
| std::enable_if_t< cc==2 &&dim==3, bool > | equals (const MMeshEntity &other) const |
| bool | hasFather () const |
| returns true if father entity exists | |
| EntitySeed | seed () const |
| Return entity seed. | |
| int | level () const |
| level of this element | |
| PartitionType | partitionType () const |
| The partition type for parallel computing. | |
| unsigned int | subEntities (unsigned int cc) const |
| Return the number of subEntities of codimension codim. | |
| template<int cc> | |
| std::enable_if_t< codim==1 &&cc==dim, typename GridImp::template Codim< dim >::Entity > | subEntity (unsigned int i) const |
| Obtain a cc dim subEntity of a codim 1 entity. | |
| template<int cc> | |
| std::enable_if_t< codim==2 &&cc==3, typename GridImp::template Codim< 3 >::Entity > | subEntity (unsigned int i) const |
| Obtain a cc 3 subEntity of a codim 2 entity (only for 3d) | |
| template<int cc> | |
| std::enable_if_t< codim==dim &&cc==dim, typename GridImp::template Codim< dim >::Entity > | subEntity (unsigned int i) const |
| Obtain a cc dim subEntity of a codim dim entity. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentIterator< GridImp > > | incidentBegin () const |
| First incident element. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentIterator< GridImp > > | incidentEnd () const |
| Last incident element. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim - 1 &&enable, MMeshEdgeIncidentIterator< GridImp > > | incidentBegin () const |
| First incident element. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim - 1 &&enable, MMeshEdgeIncidentIterator< GridImp > > | incidentEnd () const |
| Last incident element. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentFacetsIterator< GridImp > > | incidentFacetsBegin () const |
| First incident facet. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentFacetsIterator< GridImp > > | incidentFacetsEnd () const |
| Last incident facet. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentVerticesIterator< GridImp > > | incidentVerticesBegin (bool includeInfinite) const |
| First incident vertex. | |
| template<bool enable = true> | |
| std::enable_if_t< codim==dim &&enable, MMeshIncidentVerticesIterator< GridImp > > | incidentVerticesEnd (bool includeInfinite) const |
| Last incident vertex. | |
| template<int cd = codim> | |
| std::enable_if_t< cd==dim, std::size_t > | insertionLevel () const |
| Return insertion level of vertex. | |
| template<int cd = codim> | |
| std::enable_if_t< cd !=dim, std::size_t > | insertionLevel () const |
| bool | isInterface () const |
| Return if vertex is part of the interface. | |
| int | boundaryFlag () const |
| Geometry | geometry () const |
| geometry of this entity | |
| GeometryType | type () const |
| returns the geometry type | |
| const HostGridEntity & | hostEntity () const |
| returns the host entity | |
| HostGridEntity & | hostEntity () |
| returns the host entity | |
| const GridImp & | grid () const |
| returns the grid | |
| IdType | id () const |
| returns id computed by vertex ids | |
Friends | |
| template<class GridImp_ > | |
| class | MMeshLeafIndexSet |
| template<class GridImp_ > | |
| class | MMeshLocalIdSet |
| template<class GridImp_ > | |
| class | MMeshGlobalIdSet |
| struct | HostGridAccess< typename std::remove_const< GridImp >::type > |
Detailed Description
class Dune::MMeshEntity< codim, dim, GridImp >
The implementation of entities in a MMesh.
Member Typedef Documentation
◆ EntitySeed
| typedef GridImp::template Codim<codim>::EntitySeed Dune::MMeshEntity< codim, dim, GridImp >::EntitySeed |
The type of the EntitySeed interface class.
◆ Geometry
| typedef GridImp::template Codim<codim>::Geometry Dune::MMeshEntity< codim, dim, GridImp >::Geometry |
The type of the Geometry interface class.
Constructor & Destructor Documentation
◆ MMeshEntity() [1/5]
|
inline |
◆ MMeshEntity() [2/5]
|
inline |
◆ MMeshEntity() [3/5]
|
inline |
◆ MMeshEntity() [4/5]
|
inline |
◆ MMeshEntity() [5/5]
|
inline |
Member Function Documentation
◆ boundaryFlag()
|
inline |
Return boundary flag (-1 = not set, 0 = can be removed, 1 = important for domain boundary)
◆ equals() [1/4]
|
inline |
◆ equals() [2/4]
|
inline |
◆ equals() [3/4]
|
inline |
◆ equals() [4/4]
|
inline |
◆ geometry()
|
inline |
geometry of this entity
◆ grid()
|
inline |
returns the grid
◆ hasFather()
|
inline |
returns true if father entity exists
◆ hostEntity() [1/2]
|
inline |
returns the host entity
◆ hostEntity() [2/2]
|
inline |
returns the host entity
◆ id()
|
inline |
returns id computed by vertex ids
◆ incidentBegin() [1/2]
|
inline |
First incident element.
◆ incidentBegin() [2/2]
|
inline |
First incident element.
◆ incidentEnd() [1/2]
|
inline |
Last incident element.
◆ incidentEnd() [2/2]
|
inline |
Last incident element.
◆ incidentFacetsBegin()
|
inline |
First incident facet.
◆ incidentFacetsEnd()
|
inline |
Last incident facet.
◆ incidentVerticesBegin()
|
inline |
First incident vertex.
◆ incidentVerticesEnd()
|
inline |
Last incident vertex.
◆ insertionLevel() [1/2]
|
inline |
Return insertion level of vertex.
◆ insertionLevel() [2/2]
|
inline |
Return insertion level (maximal insertionLevel of the corresponding vertices)
◆ isInterface()
|
inline |
Return if vertex is part of the interface.
◆ level()
|
inline |
level of this element
◆ operator=() [1/2]
|
inline |
◆ operator=() [2/2]
|
inline |
◆ partitionType()
|
inline |
The partition type for parallel computing.
◆ seed()
|
inline |
Return entity seed.
◆ subEntities()
|
inline |
Return the number of subEntities of codimension codim.
◆ subEntity() [1/3]
|
inline |
Obtain a cc dim subEntity of a codim 1 entity.
◆ subEntity() [2/3]
|
inline |
Obtain a cc 3 subEntity of a codim 2 entity (only for 3d)
◆ subEntity() [3/3]
|
inline |
Obtain a cc dim subEntity of a codim dim entity.
◆ type()
|
inline |
returns the geometry type
Friends And Related Symbol Documentation
◆ HostGridAccess< typename std::remove_const< GridImp >::type >
|
friend |
◆ MMeshGlobalIdSet
|
friend |
◆ MMeshLeafIndexSet
|
friend |
◆ MMeshLocalIdSet
|
friend |
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