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

#include <dune/grid/alugrid/3d/entity.hh>

Inheritance diagram for Dune::ALU3dGridEntity< cd, dim, GridImp >:
Inheritance graph

List of all members.

Classes

struct  GetLevel
struct  GetLevel< GridType, 3 >

Public Types

typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef ALU3dImplTraits
< GridImp::elementType, Comm > 
ImplTraits
typedef ImplTraits::template
Codim< cd >::InterfaceType 
HItemType
typedef ImplTraits::template
Codim< cd >
::ImplementationType 
ItemType
typedef ImplTraits::VertexType VertexType
typedef ImplTraits::HBndSegType HBndSegType
typedef GridImp::template
Codim< cd >::Entity 
Entity
typedef GridImp::template
Codim< cd >::Geometry 
Geometry
typedef GridImp::template
Codim< 0 >::EntityPointer 
EntityPointer
 The corresponding entity seed (for storage of entities)
typedef GridImp::template
Codim< cd >::EntitySeed 
EntitySeed
 typedef of my type
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::ctype ctype
 define type used for coordinates in grid module

Public Member Functions

int level () const
 level of this element
PartitionType partitionType () const
 return partition type of this entity ( see grid.hh )
 ALU3dGridEntity (const FactoryType &factory, int level)
 Constructor.
 ALU3dGridEntity (const ALU3dGridEntity &org)
 copy Constructor
Geometry geometry () const
 geometry of this entity
GeometryType type () const
 type of geometry of this entity
void setElement (const HItemType &item)
void setElement (const HItemType &item, const int level, int twist=0, int face=-1)
void setElement (const EntitySeed &seed)
void setGhost (const HBndSegType &ghost)
 setGhost is not valid for this codim
void removeElement ()
 reset item pointer to NULL
void reset (int l)
 reset item pointer to NULL
bool equals (const ALU3dGridEntity< cd, dim, GridImp > &org) const
 compare 2 elements by comparing the item pointers
void setEntity (const ALU3dGridEntity< cd, dim, GridImp > &org)
 set item from other entity, mainly for copy constructor of entity pointer
const ItemTypegetItem () const
const GridImp & grid () const
 return reference to grid
const FactoryTypefactory () const
 return reference to factory
EntitySeed seed () const
 return seed of entity

Friends

class ALU3dGrid< GridImp::elementType, Comm >
class ALU3dGridEntity< 0, dim, GridImp >
class ALU3dGridLevelIterator< cd, All_Partition, GridImp >
class ALU3dGridHierarchicIndexSet< GridImp::elementType, Comm >
class ALU3dGridFactory

Detailed Description

template<int cd, int dim, class GridImp>
class Dune::ALU3dGridEntity< cd, dim, GridImp >

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.

Here: the general template


Member Typedef Documentation

typedef GridImp::ctype Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU3dGridEntity >::ctype
inherited

define type used for coordinates in grid module

template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::Entity Dune::ALU3dGridEntity< cd, dim, GridImp >::Entity
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<0>::EntityPointer Dune::ALU3dGridEntity< cd, dim, GridImp >::EntityPointer

The corresponding entity seed (for storage of entities)

Reimplemented from Dune::EntityDefaultImplementation< cd, dim, GridImp, ALU3dGridEntity >.

template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU3dGridEntity< cd, dim, GridImp >::EntitySeed
template<int cd, int dim, class GridImp>
typedef GridImp::GridObjectFactoryType Dune::ALU3dGridEntity< cd, dim, GridImp >::FactoryType
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::Geometry Dune::ALU3dGridEntity< cd, dim, GridImp >::Geometry
template<int cd, int dim, class GridImp>
typedef ImplTraits::HBndSegType Dune::ALU3dGridEntity< cd, dim, GridImp >::HBndSegType
template<int cd, int dim, class GridImp>
typedef ImplTraits::template Codim<cd>::InterfaceType Dune::ALU3dGridEntity< cd, dim, GridImp >::HItemType
template<int cd, int dim, class GridImp>
typedef ALU3dImplTraits< GridImp::elementType, Comm > Dune::ALU3dGridEntity< cd, dim, GridImp >::ImplTraits
template<int cd, int dim, class GridImp>
typedef ImplTraits::template Codim<cd>::ImplementationType Dune::ALU3dGridEntity< cd, dim, GridImp >::ItemType
template<int cd, int dim, class GridImp>
typedef ImplTraits::VertexType Dune::ALU3dGridEntity< cd, dim, GridImp >::VertexType

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 cd, int dim, class GridImp>
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity ( const FactoryType factory,
int  level 
)

Constructor.

template<int cd, int dim, class GridImp>
Dune::ALU3dGridEntity< cd, dim, GridImp >::ALU3dGridEntity ( const ALU3dGridEntity< cd, dim, GridImp > &  org)

copy Constructor


Member Function Documentation

template<int cd, int dim, class GridImp >
bool Dune::ALU3dGridEntity< cd, dim, GridImp >::equals ( const ALU3dGridEntity< cd, dim, GridImp > &  org) const
inline

compare 2 elements by comparing the item pointers

template<int cd, int dim, class GridImp>
const FactoryType& Dune::ALU3dGridEntity< cd, dim, GridImp >::factory ( ) const
inline

return reference to factory

template<int cd, int dim, class GridImp>
Geometry Dune::ALU3dGridEntity< cd, dim, GridImp >::geometry ( ) const

geometry of this entity

template<int cd, int dim, class GridImp>
const ItemType& Dune::ALU3dGridEntity< cd, dim, GridImp >::getItem ( ) const
inline
template<int cd, int dim, class GridImp>
const GridImp& Dune::ALU3dGridEntity< cd, dim, GridImp >::grid ( ) const
inline

return reference to grid

Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::count().

template<int cd, int dim, class GridImp >
int Dune::ALU3dGridEntity< cd, dim, GridImp >::level ( ) const
inline
template<int cd, int dim, class GridImp >
PartitionType Dune::ALU3dGridEntity< cd, dim, GridImp >::partitionType ( ) const
inline

return partition type of this entity ( see grid.hh )

template<int cd, int dim, class GridImp >
void Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement ( )
inline

reset item pointer to NULL

template<int cd, int dim, class GridImp >
void Dune::ALU3dGridEntity< cd, dim, GridImp >::reset ( int  l)
inline

reset item pointer to NULL

template<int cd, int dim, class GridImp>
EntitySeed Dune::ALU3dGridEntity< cd, dim, GridImp >::seed ( ) const
inline
template<int cd, int dim, class GridImp>
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement ( const HItemType item)
template<int cd, int dim, class GridImp>
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement ( const HItemType item,
const int  level,
int  twist = 0,
int  face = -1 
)
template<int cd, int dim, class GridImp>
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setElement ( const EntitySeed seed)
template<int cd, int dim, class GridImp>
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setEntity ( const ALU3dGridEntity< cd, dim, GridImp > &  org)

set item from other entity, mainly for copy constructor of entity pointer

template<int cd, int dim, class GridImp>
void Dune::ALU3dGridEntity< cd, dim, GridImp >::setGhost ( const HBndSegType ghost)

setGhost is not valid for this codim

Referenced by Dune::ALU3dGridEntity< 0, dim, GridImp >::setElement().

template<int cd, int dim, class GridImp >
GeometryType Dune::ALU3dGridEntity< cd, dim, GridImp >::type ( ) const
inline

Friends And Related Function Documentation

template<int cd, int dim, class GridImp>
friend class ALU3dGrid< GridImp::elementType, Comm >
friend
template<int cd, int dim, class GridImp>
friend class ALU3dGridEntity< 0, dim, GridImp >
friend
template<int cd, int dim, class GridImp>
friend class ALU3dGridFactory
friend
template<int cd, int dim, class GridImp>
friend class ALU3dGridHierarchicIndexSet< GridImp::elementType, Comm >
friend
template<int cd, int dim, class GridImp>
friend class ALU3dGridLevelIterator< cd, All_Partition, GridImp >
friend

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