dune-grid 2.9.0
|
#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 More... | |
AlbertaGridEntity () | |
AlbertaGridEntity (const Grid &grid, const ElementInfo &elementInfo, int subEntity) | |
contructor More... | |
int | level () const |
level of this element More... | |
PartitionType | partitionType () const |
return partition type of this entity More... | |
Geometry | geometry () const |
geometry of this entity More... | |
GeometryType | type () const |
type of geometry of this entity More... | |
EntitySeed | seed () const |
obtain entity seed More... | |
unsigned int | subEntities (unsigned int cd) const |
Obtain the number of subentities of a given codimension. More... | |
ALBERTA EL_INFO * | getElInfo () const |
needed for the LevelIterator and LeafIterator More... | |
const ElementInfo & | elementInfo () const |
bool | equals (const This &other) const |
equality of entities More... | |
void | clearElement () |
void | setElement (const ElementInfo &elementInfo, int subEntity) |
void | setEntity (const This &other) |
const Grid & | grid () const |
obtain a reference to the grid More... | |
int | subEntity () const |
obtain number of the subentity within the element (in ALBERTA numbering) More... | |
int | twist () const |
obtain twist More... | |
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 |
contructor
|
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 |