dune-grid
2.4.1-rc2
|
#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 |
enum | |
know your own codimension More... | |
enum | |
Dimension of the grid. More... | |
enum | |
Know dimension of the entity. More... | |
typedef Grid::template Codim< cd >::EntityPointer | EntityPointer |
The corresponding entity seed (for storage of entities) More... | |
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... | |
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 |
|
inherited |
The corresponding entity seed (for storage of entities)
typedef Grid::template Codim< codim >::EntitySeed Dune::AlbertaGridEntity< codim, dim, Grid >::EntitySeed |
typedef Grid::template Codim< codim >::Geometry Dune::AlbertaGridEntity< codim, dim, Grid >::Geometry |
|
inherited |
know your own codimension
|
inherited |
Dimension of the grid.
|
inherited |
Know dimension of the entity.
|
inlineexplicit |
constructor
References Dune::AlbertaGridEntity< codim, dim, Grid >::AlbertaGridEntity().
|
inline |
|
inline |
contructor
References Dune::AlbertaGridEntity< codim, dim, Grid >::AlbertaGridEntity().
|
inline |
|
inline |
References Dune::AlbertaGridEntity< codim, dim, Grid >::clearElement(), Dune::AlbertaGridEntity< codim, dim, Grid >::equals(), Dune::AlbertaGridEntity< codim, dim, Grid >::setElement(), Dune::AlbertaGridEntity< codim, dim, Grid >::setEntity(), and Dune::AlbertaGridEntity< codim, dim, Grid >::subEntity().
Referenced by Dune::AlbertaGridIndexSet< dim, dimworld >::contains(), Dune::AlbertaGridEntity< 0, dim, Grid >::elementInfo(), Dune::AlbertaGridEntity< codim, dim, Grid >::equals(), Dune::AlbertaGridEntity< 0, dim, Grid >::equals(), Dune::AlbertaGridEntity< codim, dim, Grid >::seed(), Dune::AlbertaGridEntity< 0, dim, Grid >::seed(), Dune::AlbertaGridEntity< 0, dim, Grid >::setElement(), Dune::AlbertaGridEntity< codim, dim, Grid >::twist(), Dune::AlbertaGridEntity< 0, dim, Grid >::twist(), and Dune::AlbertaGridIndexSet< dim, dimworld >::update().
|
inline |
equality of entities
References ALBERTA, Dune::Alberta::ElementInfo< dim >::el(), and Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo().
Referenced by Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo(), and Dune::AlbertaGridEntity< 0, dim, Grid >::hasFather().
|
inline |
geometry of this entity
|
inline |
needed for the LevelIterator and LeafIterator
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::hasFather(), Dune::AlbertaGridEntity< 0, dim, Grid >::ileafbegin(), and Dune::AlbertaGridEntity< codim, dim, Grid >::seed().
|
inline |
obtain a reference to the grid
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::father(), Dune::AlbertaGridEntity< 0, dim, Grid >::geometry(), Dune::AlbertaGridEntity< 0, dim, Grid >::hbegin(), Dune::AlbertaGridEntity< 0, dim, Grid >::hend(), Dune::AlbertaGridEntity< 0, dim, Grid >::ilevelbegin(), Dune::AlbertaGridEntity< 0, dim, Grid >::isNew(), Dune::AlbertaGridEntity< 0, dim, Grid >::level(), Dune::AlbertaGridEntity< 0, dim, Grid >::subEntity(), and Dune::AlbertaGridEntity< 0, dim, Grid >::twist().
|
inline |
level of this element
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::hasFather(), and Dune::AlbertaGridEntity< 0, dim, Grid >::hend().
|
inline |
return partition type of this entity
References Dune::InteriorEntity.
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::hasFather().
|
inline |
|
inline |
Referenced by Dune::AlbertaGridEntity< codim, dim, Grid >::clearElement(), Dune::AlbertaGridEntity< 0, dim, Grid >::clearElement(), Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo(), Dune::AlbertaGridEntity< 0, dim, Grid >::elementInfo(), and Dune::AlbertaGridEntity< 0, dim, Grid >::setEntity().
|
inline |
|
inline |
obtain number of the subentity within the element (in ALBERTA numbering)
Referenced by Dune::AlbertaGridIndexSet< dim, dimworld >::contains(), Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo(), Dune::AlbertaGridEntity< codim, dim, Grid >::seed(), Dune::AlbertaGridEntity< 0, dim, Grid >::subEntities(), Dune::AlbertaGridEntity< codim, dim, Grid >::twist(), and Dune::AlbertaGridEntity< 0, dim, Grid >::twist().
|
inline |
obtain twist
References Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo(), and Dune::AlbertaGridEntity< codim, dim, Grid >::subEntity().
|
inline |
type of geometry of this entity
References Dune::AlbertaGridEntity< codim, dim, Grid >::AlbertaGridEntity().
|
static |
|
static |
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::ileafbegin().
|
static |