dune-grid  2.2.0
Classes | Public Types | Public Member Functions | Protected Attributes | Friends
Dune::YaspEntity< dim, dim, GridImp > Class Template Reference

#include <dune/grid/yaspgrid.hh>

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

List of all members.

Classes

struct  Codim

Public Types

typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef MultiYGrid< dim, ctype >
::YGridLevelIterator 
YGLI
typedef SubYGrid< dim, ctype >
::TransformingSubIterator 
TSI
typedef GridImp::template
Codim< dim >::Geometry 
Geometry
typedef GridImp::template
Codim< dim >::EntityPointer 
EntityPointer
 The corresponding entity seed (for storage of entities)
typedef GridImp::template
Codim< dim >::EntitySeed 
EntitySeed
 The corresponding entity seed (for storage of entities)
typedef
GridImp::PersistentIndexType 
PersistentIndexType
 define the type used for persisitent indices
typedef YGrid< dim, ctype >::iTupel iTupel
 define type used for coordinates in grid module
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...

Public Member Functions

 YaspEntity (const GridImp *yg, const YGLI &g, const TSI &it)
int level () const
 level of this element
int index () const
 index is unique and consecutive per level
int globalIndex () const
 globally unique, persistent index
EntitySeed seed () const
 Return the entity seed which contains sufficient information to generate the entity again and uses as less memory as possible.
Geometry geometry () const
 geometry of this entity
PartitionType partitionType () const
 return partition type attribute
const TSItransformingsubiterator () const
const YGLIgridlevel () const
const GridImp * yaspgrid () const
GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::GenericReferenceElement.

Protected Attributes

const GridImp * _yg
const TSI_it
const YGLI_g
FieldVector< ctype, dim > loc

Friends

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

Member Typedef Documentation

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

define type used for coordinates in grid module

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

template<int dim, class GridImp >
typedef GridImp::template Codim<dim>::EntityPointer Dune::YaspEntity< dim, dim, GridImp >::EntityPointer

The corresponding entity seed (for storage of entities)

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

template<int dim, class GridImp >
typedef GridImp::template Codim<dim>::EntitySeed Dune::YaspEntity< dim, dim, GridImp >::EntitySeed

The corresponding entity seed (for storage of entities)

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

template<int dim, class GridImp >
typedef GridImp::template Codim<dim>::Geometry Dune::YaspEntity< dim, dim, GridImp >::Geometry
template<int dim, class GridImp >
typedef YGrid<dim,ctype>::iTupel Dune::YaspEntity< dim, dim, GridImp >::iTupel

define type used for coordinates in grid module

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

define the type used for persisitent indices

template<int dim, class GridImp >
typedef SubYGrid<dim,ctype>::TransformingSubIterator Dune::YaspEntity< dim, dim, GridImp >::TSI
template<int dim, class GridImp >
typedef MultiYGrid<dim,ctype>::YGridLevelIterator Dune::YaspEntity< dim, 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 dim, class GridImp >
Dune::YaspEntity< dim, dim, GridImp >::YaspEntity ( const GridImp *  yg,
const YGLI g,
const TSI it 
)
inline

Member Function Documentation

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

geometry of this entity

template<int dim, class GridImp >
int Dune::YaspEntity< dim, dim, GridImp >::globalIndex ( ) const
inline

globally unique, persistent index

template<int dim, class GridImp >
const YGLI& Dune::YaspEntity< dim, dim, GridImp >::gridlevel ( ) const
inline
template<int dim, class GridImp >
int Dune::YaspEntity< dim, dim, GridImp >::index ( ) const
inline

index is unique and consecutive per level

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

level of this element

template<int dim, class GridImp >
PartitionType Dune::YaspEntity< dim, dim, GridImp >::partitionType ( ) const
inline
template<int dim, class GridImp >
EntitySeed Dune::YaspEntity< dim, dim, GridImp >::seed ( ) const
inline

Return the entity seed which contains sufficient information to generate the entity again and uses as less memory as possible.

template<int dim, class GridImp >
const TSI& Dune::YaspEntity< dim, dim, GridImp >::transformingsubiterator ( ) const
inline
GeometryType Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::type ( ) const
inlineinherited

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

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

Friends And Related Function Documentation

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

Member Data Documentation

template<int dim, class GridImp >
const YGLI& Dune::YaspEntity< dim, dim, GridImp >::_g
protected
template<int dim, class GridImp >
const TSI& Dune::YaspEntity< dim, dim, GridImp >::_it
protected
template<int dim, class GridImp >
const GridImp* Dune::YaspEntity< dim, dim, GridImp >::_yg
protected
template<int dim, class GridImp >
FieldVector<ctype, dim> Dune::YaspEntity< dim, dim, GridImp >::loc
mutableprotected

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