dune-grid
2.3.1-rc1
|
#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::ctype | ctype |
define type used for coordinates in grid module 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 (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 |
static const int | dimensionworld |
know your own dimension of world More... | |
Friends | |
class | AlbertaGrid< dim, dimworld > |
class | AlbertaGridEntity< 0, dim, Grid > |
template<int , class , bool > | |
class | AlbertaGridTreeIterator |
class | AlbertaGridEntityPointer< codim, Grid > |
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.
|
inherited |
define type used for coordinates in grid module
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
|
inline |
contructor
|
inline |
|
inline |
Referenced by Dune::AlbertaGridIndexSet< dim, dimworld >::contains(), 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< codim, dim, Grid >::twist(), Dune::AlbertaGridEntity< 0, dim, Grid >::twist(), and Dune::AlbertaGridIndexSet< dim, dimworld >::update().
|
inline |
equality of entities
References Dune::Alberta::ElementInfo< dim >::el(), and Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo().
|
inline |
geometry of this entity
|
inline |
needed for the LevelIterator and LeafIterator
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::ileafbegin().
|
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.
|
inline |
obtain entity seed
References Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo(), and Dune::AlbertaGridEntity< codim, dim, Grid >::subEntity().
|
inline |
Referenced by 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 >::seed(), 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
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
|
static |
Referenced by Dune::AlbertaGridEntity< 0, dim, Grid >::ileafbegin().
|
staticinherited |
know your own dimension of world
|
static |