dune-grid  2.4.1-rc2
Classes | Public Types | Public Member Functions | List of all members
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

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
 
typedef GridImp::template Codim< cd >::EntitySeed EntitySeed
 typedef of my type More...
 
enum  
 know your own codimension More...
 
enum  
 Dimension of the grid. More...
 
enum  
 Know dimension of the entity. More...
 

Public Member Functions

int level () const
 level of this element More...
 
PartitionType partitionType () const
 return partition type of this entity ( see grid.hh ) More...
 
 ALU3dGridEntity (const FactoryType &factory, int level)
 Constructor. More...
 
 ALU3dGridEntity (const ALU3dGridEntity &org)
 copy Constructor More...
 
Geometry geometry () const
 geometry of this entity More...
 
GeometryType type () const
 type of geometry of this entity More...
 
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 More...
 
void removeElement ()
 reset item pointer to NULL More...
 
void reset (int l)
 reset item pointer to NULL More...
 
bool equals (const ALU3dGridEntity< cd, dim, GridImp > &org) const
 compare 2 elements by comparing the item pointers More...
 
void setEntity (const ALU3dGridEntity< cd, dim, GridImp > &org)
 set item from other entity, mainly for copy constructor of entity pointer More...
 
const ItemTypegetItem () const
 
const GridImp & grid () const
 return reference to grid More...
 
const FactoryTypefactory () const
 return reference to factory More...
 
EntitySeed seed () const
 return seed of entity More...
 

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

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
template<int cd, int dim, class GridImp>
typedef GridImp::template Codim<cd>::EntitySeed Dune::ALU3dGridEntity< cd, dim, GridImp >::EntitySeed

typedef of my type

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

Dimension of the grid.

anonymous enum
inherited

Know dimension of the entity.

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

return reference to factory

Referenced by Dune::ALU3dGridEntityPointerBase< 0, GridImp >::grid().

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
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 )

Referenced by Dune::ALU3dGridEntity< cd, dim, GridImp >::level(), and Dune::ALU3dGridEntity< 0, dim, GridImp >::subEntities().

template<int cd, int dim, class GridImp >
void Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement ( )
inline
template<int cd, int dim, class GridImp >
void Dune::ALU3dGridEntity< cd, dim, GridImp >::reset ( int  l)
inline
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

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

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

type of geometry of this entity

References Dune::ALU3dGridEntity< cd, dim, GridImp >::removeElement().


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