dune-grid  2.1.1
Public Types | Public Member Functions | Friends
Dune::YaspEntity< codim, dim, GridImp > Class Template Reference

#include <dune/grid/yaspgrid.hh>

Inheritance diagram for Dune::YaspEntity< codim, dim, GridImp >:
Inheritance graph

List of all members.

Public Types

typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef GridImp::template
Codim< codim >::Geometry 
Geometry
typedef MultiYGrid< dim, ctype >
::YGridLevelIterator 
YGLI
typedef SubYGrid< dim, ctype >
::TransformingSubIterator 
TSI
typedef
GridImp::PersistentIndexType 
PersistentIndexType
enum  
 know your own codimension More...
enum  
 know your own dimension More...
enum  
 Know dimension of the entity. More...
enum  
 know your own dimension of world More...
typedef GridImp::template
Codim< cd >::EntitySeed 
EntitySeed
 The corresponding entity seed (for storage of entities)
typedef GridImp::template
Codim< cd >::EntityPointer 
EntityPointer
 The corresponding entity seed (for storage of entities)

Public Member Functions

int level () const
 level of this element
int index () const
 index is unique and consecutive per level and codim used for access to degrees of freedom
const Geometrygeometry () const
 geometry of this entity
PartitionType partitionType () const
 return partition type attribute
const GridImp * yaspgrid () const
 YaspEntity (const GridImp *yg, const YGLI &g, const TSI &it)
PersistentIndexType persistentIndex () const
 globally unique, persistent index
int compressedIndex () const
 consecutive, codim-wise, level-wise index
int compressedLeafIndex () const
 consecutive, codim-wise, level-wise index
GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::GenericReferenceElement.
EntitySeed seed () const

Friends

class Dune::YaspLevelIndexSet< GridImp >
class Dune::YaspLeafIndexSet< GridImp >
class Dune::YaspGlobalIdSet< GridImp >

template<int codim, int dim, class GridImp>
class Dune::YaspEntity< codim, dim, GridImp >


Member Typedef Documentation

template<int codim, int dim, class GridImp>
typedef GridImp::ctype Dune::YaspEntity< codim, dim, GridImp >::ctype

define type used for coordinates in grid module

Reimplemented from Dune::EntityDefaultImplementation< codim, dim, GridImp, YaspEntity >.

typedef GridImp::template Codim<cd>::EntityPointer Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::EntityPointer [inherited]

The corresponding entity seed (for storage of entities)

typedef GridImp::template Codim<cd>::EntitySeed Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::EntitySeed [inherited]

The corresponding entity seed (for storage of entities)

template<int codim, int dim, class GridImp>
typedef GridImp::template Codim<codim>::Geometry Dune::YaspEntity< codim, dim, GridImp >::Geometry
template<int codim, int dim, class GridImp>
typedef GridImp::PersistentIndexType Dune::YaspEntity< codim, dim, GridImp >::PersistentIndexType
template<int codim, int dim, class GridImp>
typedef SubYGrid<dim,ctype>::TransformingSubIterator Dune::YaspEntity< codim, dim, GridImp >::TSI
template<int codim, int dim, class GridImp>
typedef MultiYGrid<dim,ctype>::YGridLevelIterator Dune::YaspEntity< codim, dim, GridImp >::YGLI

Member Enumeration Documentation

anonymous enum [inherited]

know your own codimension

anonymous enum [inherited]

know your own dimension

anonymous enum [inherited]

Know dimension of the entity.

anonymous enum [inherited]

know your own dimension of world


Constructor & Destructor Documentation

template<int codim, int dim, class GridImp>
Dune::YaspEntity< codim, dim, GridImp >::YaspEntity ( const GridImp *  yg,
const YGLI g,
const TSI it 
) [inline]

Member Function Documentation

template<int codim, int dim, class GridImp>
int Dune::YaspEntity< codim, dim, GridImp >::compressedIndex ( ) const [inline]

consecutive, codim-wise, level-wise index

template<int codim, int dim, class GridImp>
int Dune::YaspEntity< codim, dim, GridImp >::compressedLeafIndex ( ) const [inline]

consecutive, codim-wise, level-wise index

template<int codim, int dim, class GridImp>
const Geometry& Dune::YaspEntity< codim, dim, GridImp >::geometry ( ) const [inline]

geometry of this entity

template<int codim, int dim, class GridImp>
int Dune::YaspEntity< codim, dim, GridImp >::index ( ) const [inline]

index is unique and consecutive per level and codim used for access to degrees of freedom

template<int codim, int dim, class GridImp>
int Dune::YaspEntity< codim, dim, GridImp >::level ( ) const [inline]

level of this element

template<int codim, int dim, class GridImp>
PartitionType Dune::YaspEntity< codim, dim, GridImp >::partitionType ( ) const [inline]

return partition type attribute

template<int codim, int dim, class GridImp>
PersistentIndexType Dune::YaspEntity< codim, dim, GridImp >::persistentIndex ( ) const [inline]

globally unique, persistent index

EntitySeed Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::seed ( ) const [inline, inherited]
Deprecated:
Implement this method in each grid, default implementation of method seed (only when seed == entity pointer)
Deprecated:
GeometryType Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::type ( ) const [inline, inherited]

Return the name of the reference element. The type can be used to access the Dune::GenericReferenceElement.

template<int codim, int dim, class GridImp>
const GridImp* Dune::YaspEntity< codim, dim, GridImp >::yaspgrid ( ) const [inline]

Friends And Related Function Documentation

template<int codim, int dim, class GridImp>
friend class Dune::YaspGlobalIdSet< GridImp > [friend]
template<int codim, int dim, class GridImp>
friend class Dune::YaspLeafIndexSet< GridImp > [friend]
template<int codim, int dim, class GridImp>
friend class Dune::YaspLevelIndexSet< GridImp > [friend]

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