dune-grid  2.4
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::ALU2dGridHierarchicIterator< GridImp > Class Template Reference

Hierarchic Iterator of ALU2dGrid. More...

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

Inheritance diagram for Dune::ALU2dGridHierarchicIterator< GridImp >:
Inheritance graph

Public Types

typedef GridImp::GridObjectFactoryType FactoryType
 
typedef GridImp::template Codim< 0 >::Entity Entity
 type of entities we iterate More...
 
typedef GridImp::ctype ctype
 type of coordinates, i.e. double More...
 
typedef ALU2dGridEntity< 0, dim, GridImp > EntityImp
 tpye of entity implementation More...
 
enum  
 
typedef GridImp::template Codim< codimension >::EntitySeed EntitySeed
 type of the seed More...
 
typedef MakeableInterfaceObject< Entity > EntityObj
 
typedef ALU2dGridEntityPointer< codimension, GridImp > EntityPointerImp
 

Public Member Functions

 ALU2dGridHierarchicIterator (const FactoryType &factory, const HElementType &elem, int maxlevel, bool end=false)
 the normal Constructor More...
 
 ALU2dGridHierarchicIterator (const ALU2dGridHierarchicIterator< GridImp > &org)
 the normal Constructor More...
 
void increment ()
 increment, go to next entity More...
 
ThisType & operator= (const ALU2dGridHierarchicIterator< GridImp > &org)
 the assignment operator More...
 
bool equals (const ThisType &i) const
 equality More...
 
Entity & dereference () const
 dereferencing More...
 
int level () const
 ask for level of entities More...
 
const GridImp & grid () const
 return reference top grid More...
 

Protected Member Functions

EntityImp & entityImp ()
 
const EntityImp & entityImp () const
 
void done ()
 has to be called when iterator is finished More...
 
void updateEntityPointer (ElementType *item, int face=-1, int level=-1)
 update underlying item pointer and set entity More...
 

Protected Attributes

const FactoryType & factory_
 reference to entity factory More...
 
EntitySeed seed_
 the essential information More...
 
EntityObj * entity_
 entity that this EntityPointer points to More...
 

Detailed Description

template<class GridImp>
class Dune::ALU2dGridHierarchicIterator< GridImp >

Hierarchic Iterator of ALU2dGrid.

Member Typedef Documentation

template<class GridImp>
typedef GridImp::ctype Dune::ALU2dGridHierarchicIterator< GridImp >::ctype

type of coordinates, i.e. double

template<class GridImp>
typedef GridImp::template Codim<0>::Entity Dune::ALU2dGridHierarchicIterator< GridImp >::Entity

type of entities we iterate

template<class GridImp>
typedef ALU2dGridEntity<0,dim,GridImp> Dune::ALU2dGridHierarchicIterator< GridImp >::EntityImp

tpye of entity implementation

typedef GridImp::template Codim<codimension>::EntitySeed Dune::ALU2dGridEntityPointer< codim, GridImp >::EntitySeed
inherited

type of the seed

template<class GridImp>
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridHierarchicIterator< GridImp >::FactoryType

Member Enumeration Documentation

anonymous enum
inherited

Constructor & Destructor Documentation

template<class GridImp>
Dune::ALU2dGridHierarchicIterator< GridImp >::ALU2dGridHierarchicIterator ( const FactoryType &  factory,
const HElementType &  elem,
int  maxlevel,
bool  end = false 
)

the normal Constructor

template<class GridImp>
Dune::ALU2dGridHierarchicIterator< GridImp >::ALU2dGridHierarchicIterator ( const ALU2dGridHierarchicIterator< GridImp > &  org)

the normal Constructor

Member Function Documentation

Entity& Dune::ALU2dGridEntityPointer< codim, GridImp >::dereference ( ) const
inherited

dereferencing

void Dune::ALU2dGridEntityPointer< codim, GridImp >::done ( )
protectedinherited

has to be called when iterator is finished

EntityImp& Dune::ALU2dGridEntityPointer< codim, GridImp >::entityImp ( )
protectedinherited
const EntityImp& Dune::ALU2dGridEntityPointer< codim, GridImp >::entityImp ( ) const
protectedinherited
bool Dune::ALU2dGridEntityPointer< codim, GridImp >::equals ( const ThisType &  i) const
inherited

equality

const GridImp& Dune::ALU2dGridEntityPointer< codim, GridImp >::grid ( ) const
inlineinherited

return reference top grid

References Dune::ALU2dGridEntityPointer< codim, GridImp >::factory_.

template<class GridImp>
void Dune::ALU2dGridHierarchicIterator< GridImp >::increment ( )

increment, go to next entity

int Dune::ALU2dGridEntityPointer< codim, GridImp >::level ( ) const
inherited

ask for level of entities

template<class GridImp>
ThisType& Dune::ALU2dGridHierarchicIterator< GridImp >::operator= ( const ALU2dGridHierarchicIterator< GridImp > &  org)
inline
void Dune::ALU2dGridEntityPointer< codim, GridImp >::updateEntityPointer ( ElementType *  item,
int  face = -1,
int  level = -1 
)
protectedinherited

update underlying item pointer and set entity

Member Data Documentation

EntityObj* Dune::ALU2dGridEntityPointer< codim, GridImp >::entity_
mutableprotectedinherited

entity that this EntityPointer points to

const FactoryType& Dune::ALU2dGridEntityPointer< codim, GridImp >::factory_
protectedinherited

reference to entity factory

EntitySeed Dune::ALU2dGridEntityPointer< codim, GridImp >::seed_
protectedinherited

the essential information


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