|
dune-grid 2.10
|
#include <dune/grid/albertagrid/entity.hh>

Classes | |
| struct | Codim |
Public Types | |
| typedef Grid::template Codim< codim >::Entity | Entity |
| typedef Grid::template Codim< codim >::EntitySeed | EntitySeed |
| typedef Grid::template Codim< codim >::Geometry | Geometry |
| typedef Alberta::ElementInfo< dimension > | ElementInfo |
Public Member Functions | |
| AlbertaGridEntity (const Grid &grid) | |
| constructor | |
| AlbertaGridEntity () | |
| AlbertaGridEntity (const Grid &grid, const ElementInfo &elementInfo, int subEntity) | |
| constructor | |
| int | level () const |
| level of this element | |
| PartitionType | partitionType () const |
| return partition type of this entity | |
| Geometry | geometry () const |
| geometry of this entity | |
| GeometryType | type () const |
| type of geometry of this entity | |
| EntitySeed | seed () const |
| obtain entity seed | |
| unsigned int | subEntities (unsigned int cd) const |
| Obtain the number of subentities of a given codimension. | |
| ALBERTA EL_INFO * | getElInfo () const |
| needed for the LevelIterator and LeafIterator | |
| const ElementInfo & | elementInfo () const |
| bool | equals (const This &other) const |
| equality of entities | |
| void | clearElement () |
| void | setElement (const ElementInfo &elementInfo, int subEntity) |
| void | setEntity (const This &other) |
| const Grid & | grid () const |
| obtain a reference to the grid | |
| int | subEntity () const |
| obtain number of the subentity within the element (in ALBERTA numbering) | |
| int | twist () const |
| obtain twist | |
Static Public Attributes | |
| static const int | dimension = dim |
| static const int | codimension = codim |
| static const int | mydimension = dimension - codimension |
A grid is a container of grid entities. An entity is parametrized by the codimension. An entity of codimension c in dimension d is a d-c dimensional object.
| typedef Alberta::ElementInfo< dimension > Dune::AlbertaGridEntity< codim, dim, Grid >::ElementInfo |
| typedef Grid::template Codim<codim>::Entity Dune::AlbertaGridEntity< codim, dim, Grid >::Entity |
| typedef Grid::template Codim<codim>::EntitySeed Dune::AlbertaGridEntity< codim, dim, Grid >::EntitySeed |
| typedef Grid::template Codim<codim>::Geometry Dune::AlbertaGridEntity< codim, dim, Grid >::Geometry |
|
inlineexplicit |
constructor
|
inline |
|
inline |
constructor
|
inline |
|
inline |
|
inline |
equality of entities
|
inline |
geometry of this entity
|
inline |
needed for the LevelIterator and LeafIterator
|
inline |
obtain a reference to the grid
|
inline |
level of this element
|
inline |
return partition type of this entity
|
inline |
obtain entity seed
|
inline |
|
inline |
|
inline |
Obtain the number of subentities of a given codimension.
That number is ((mydimension+1) over (dim-cd+1))
| cd | codimension |
|
inline |
obtain number of the subentity within the element (in ALBERTA numbering)
|
inline |
obtain twist
|
inline |
type of geometry of this entity
|
static |
|
static |
|
static |