dune-grid  2.3.1
Classes | Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Dune::AlbertaGridEntity< codim, dim, Grid > Class Template Reference

#include <dune/grid/albertagrid/entity.hh>

Inheritance diagram for Dune::AlbertaGridEntity< codim, dim, Grid >:
Inheritance graph

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 ElementInfoelementInfo () 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 Gridgrid () 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 >
 

Detailed Description

template<int codim, int dim, class Grid>
class Dune::AlbertaGridEntity< codim, dim, 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.

Member Typedef Documentation

define type used for coordinates in grid module

Deprecated:
"Use Geometry::ctype instead!"
template<int codim, int dim, class Grid>
typedef Alberta::ElementInfo< dimension > Dune::AlbertaGridEntity< codim, dim, Grid >::ElementInfo
template<int codim, int dim, class Grid>
typedef Grid::template Codim< codim >::Entity Dune::AlbertaGridEntity< codim, dim, Grid >::Entity

The corresponding entity seed (for storage of entities)

template<int codim, int dim, class Grid>
typedef Grid::template Codim< codim >::EntitySeed Dune::AlbertaGridEntity< codim, dim, Grid >::EntitySeed
template<int codim, int dim, class Grid>
typedef Grid::template Codim< codim >::Geometry Dune::AlbertaGridEntity< codim, dim, Grid >::Geometry

Member Enumeration Documentation

anonymous enum
inherited

know your own codimension

anonymous enum
inherited

Dimension of the grid.

anonymous enum
inherited

Know dimension of the entity.

Constructor & Destructor Documentation

template<int codim, int dim, class Grid>
Dune::AlbertaGridEntity< codim, dim, Grid >::AlbertaGridEntity ( const Grid grid)
inlineexplicit

constructor

template<int codim, int dim, class Grid>
Dune::AlbertaGridEntity< codim, dim, Grid >::AlbertaGridEntity ( const Grid grid,
const ElementInfo elementInfo,
int  subEntity 
)
inline

contructor

Member Function Documentation

template<int codim, int dim, class Grid >
void Dune::AlbertaGridEntity< codim, dim, Grid >::clearElement ( )
inline
template<int codim, int dim, class Grid>
const ElementInfo& Dune::AlbertaGridEntity< codim, dim, Grid >::elementInfo ( ) const
inline
template<int codim, int dim, class Grid >
bool Dune::AlbertaGridEntity< codim, dim, Grid >::equals ( const This other) const
inline
template<int codim, int dim, class Grid >
AlbertaGridEntity< codim, dim, Grid >::Geometry Dune::AlbertaGridEntity< codim, dim, Grid >::geometry ( ) const
inline

geometry of this entity

template<int codim, int dim, class Grid >
ALBERTA EL_INFO * Dune::AlbertaGridEntity< codim, dim, Grid >::getElInfo ( ) const
inline
template<int codim, int dim, class Grid>
const Grid& Dune::AlbertaGridEntity< codim, dim, Grid >::grid ( ) const
inline
template<int codim, int dim, class Grid >
int Dune::AlbertaGridEntity< codim, dim, Grid >::level ( ) const
inline
template<int codim, int dim, class Grid >
PartitionType Dune::AlbertaGridEntity< codim, dim, Grid >::partitionType ( ) const
inline

return partition type of this entity

References Dune::InteriorEntity.

template<int codim, int dim, class Grid>
EntitySeed Dune::AlbertaGridEntity< codim, dim, Grid >::seed ( ) const
inline
template<int codim, int dim, class Grid >
void Dune::AlbertaGridEntity< codim, dim, Grid >::setElement ( const ElementInfo elementInfo,
int  subEntity 
)
inline
template<int codim, int dim, class Grid >
void Dune::AlbertaGridEntity< codim, dim, Grid >::setEntity ( const This other)
inline
template<int codim, int dim, class Grid>
int Dune::AlbertaGridEntity< codim, dim, Grid >::subEntity ( ) const
inline
template<int codim, int dim, class Grid>
int Dune::AlbertaGridEntity< codim, dim, Grid >::twist ( ) const
inline
template<int codim, int dim, class Grid >
GeometryType Dune::AlbertaGridEntity< codim, dim, Grid >::type ( ) const
inline

type of geometry of this entity

Friends And Related Function Documentation

template<int codim, int dim, class Grid>
friend class AlbertaGrid< dim, dimworld >
friend
template<int codim, int dim, class Grid>
friend class AlbertaGridEntity< 0, dim, Grid >
friend
template<int codim, int dim, class Grid>
friend class AlbertaGridEntityPointer< codim, Grid >
friend
template<int codim, int dim, class Grid>
template<int , class , bool >
friend class AlbertaGridTreeIterator
friend

Member Data Documentation

template<int codim, int dim, class Grid>
const int Dune::AlbertaGridEntity< codim, dim, Grid >::codimension = codim
static
template<int codim, int dim, class Grid>
const int Dune::AlbertaGridEntity< codim, dim, Grid >::dimension = dim
static
const int Dune::EntityDefaultImplementation< cd, dim, Grid , AlbertaGridEntity >::dimensionworld
staticinherited

know your own dimension of world

Deprecated:
"Use Geometry::coorddimension instead!"
template<int codim, int dim, class Grid>
const int Dune::AlbertaGridEntity< codim, dim, Grid >::mydimension = dimension - codimension
static

The documentation for this class was generated from the following files: