dune-grid  2.2.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Dune::ALU2dGridLevelIterator< 2, pitype, GridImp > Class Template Reference

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

Inheritance diagram for Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >:
Dune::ALU2dGridEntityPointer< 2, GridImp >

Public Types

typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef GridImp::template
Codim< codim >::Entity 
Entity
enum  
typedef GridImp::template
Codim< codimension >
::EntitySeed 
EntitySeed
 type of the seed
typedef
MakeableInterfaceObject
< Entity
EntityObj
typedef ALU2dGridEntityPointer
< codimension, GridImp > 
EntityPointerImp

Public Member Functions

 ALU2dGridLevelIterator (const FactoryType &factory, int level, bool end)
 Constructor.
 ALU2dGridLevelIterator (const ThisType &org)
 copy constructor
 ~ALU2dGridLevelIterator ()
void increment ()
 prefix increment
ThisTypeoperator= (const ThisType &org)
 assigment of iterator
bool equals (const ThisType &i) const
 equality
Entitydereference () const
 dereferencing
int level () const
 ask for level of entities
const GridImp & grid () const
 return reference top grid

Protected Member Functions

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

Protected Attributes

const FactoryTypefactory_
 reference to entity factory
EntitySeed seed_
 the essential information
EntityObjentity_
 entity that this EntityPointer points to

Friends

class ALU2dGridEntity< dim, dimworld, GridImp >
class ALU2dGridEntity< 1, dimworld, GridImp >
class ALU2dGridEntity< 0, dimworld, GridImp >
class ALU2dGrid< dim, dimworld, eltype >

Member Typedef Documentation

template<PartitionIteratorType pitype, class GridImp >
typedef GridImp::template Codim<codim>::Entity Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::Entity
typedef GridImp::template Codim<codimension>::EntitySeed Dune::ALU2dGridEntityPointer< codim, GridImp >::EntitySeed
inherited

type of the seed

template<PartitionIteratorType pitype, class GridImp >
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::FactoryType

Member Enumeration Documentation

anonymous enum
inherited

Constructor & Destructor Documentation

template<PartitionIteratorType pitype, class GridImp >
Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::ALU2dGridLevelIterator ( const FactoryType factory,
int  level,
bool  end 
)

Constructor.

template<PartitionIteratorType pitype, class GridImp >
Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::ALU2dGridLevelIterator ( const ThisType org)

copy constructor

template<PartitionIteratorType pitype, class GridImp >
Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::~ALU2dGridLevelIterator ( )

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

template<PartitionIteratorType pitype, class GridImp >
void Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::increment ( )

prefix increment

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

ask for level of entities

template<PartitionIteratorType pitype, class GridImp >
ThisType& Dune::ALU2dGridLevelIterator< 2, pitype, GridImp >::operator= ( const ThisType org)

assigment of iterator

void Dune::ALU2dGridEntityPointer< codim, GridImp >::updateEntityPointer ( ElementType *  item,
int  face = -1,
int  level = -1 
)
protectedinherited

update underlying item pointer and set entity

Friends And Related Function Documentation

template<PartitionIteratorType pitype, class GridImp >
friend class ALU2dGrid< dim, dimworld, eltype >
friend
template<PartitionIteratorType pitype, class GridImp >
friend class ALU2dGridEntity< 0, dimworld, GridImp >
friend
template<PartitionIteratorType pitype, class GridImp >
friend class ALU2dGridEntity< 1, dimworld, GridImp >
friend
template<PartitionIteratorType pitype, class GridImp >
friend class ALU2dGridEntity< dim, dimworld, GridImp >
friend

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 file: