Dune::ALU2dGridLeafIterator< 1, pitype, GridImp > Class Template Reference

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

Inheritance diagram for Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >:
Inheritance graph

List of all members.

Public Types

typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef GridImp::template
Codim< 1 >::Entity 
Entity
 type of entity we iterate (interface)
typedef Dune::ALU2dImplTraits
< dimworld, eltype >::template
Codim< 1 >::InterfaceType 
ElementType
enum  
typedef
MakeableInterfaceObject
< Entity
EntityObj
typedef ALU2dGridEntityPointer
< codimension, GridImp > 
EntityPointerImp

Public Member Functions

 ALU2dGridLeafIterator (const FactoryType &factory, bool end)
 Constructor called by LeafIterator.
 ALU2dGridLeafIterator (const ThisType &org)
 copy Constructor
void increment ()
 prefix increment
ThisTypeoperator= (const ThisType &org)
 assigment of iterator
bool equals (const ThisType &i) const
 equality
Entitydereference () const
 dereferencing
void compactify ()
 release entity in order to reduce memory allocation
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
ElementTypeitem_
 pointer to the real (H)Element
EntityObjentity_
 entity that this EntityPointer points to

Friends

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

template<PartitionIteratorType pitype, class GridImp>
class Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >


Member Typedef Documentation

template<PartitionIteratorType pitype, class GridImp >
typedef Dune::ALU2dImplTraits< dimworld, eltype >::template Codim<1>::InterfaceType Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >::ElementType
template<PartitionIteratorType pitype, class GridImp >
typedef GridImp::template Codim<1>::Entity Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >::Entity

type of entity we iterate (interface)

Reimplemented from Dune::ALU2dGridEntityPointer< 1, GridImp >.

typedef MakeableInterfaceObject<Entity> Dune::ALU2dGridEntityPointer< codim, GridImp >::EntityObj [inherited]
typedef ALU2dGridEntityPointer<codimension,GridImp> Dune::ALU2dGridEntityPointer< codim, GridImp >::EntityPointerImp [inherited]
template<PartitionIteratorType pitype, class GridImp >
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >::FactoryType

Member Enumeration Documentation

anonymous enum [inherited]

Constructor & Destructor Documentation

template<PartitionIteratorType pitype, class GridImp >
Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >::ALU2dGridLeafIterator ( const FactoryType factory,
bool  end 
)

Constructor called by LeafIterator.

template<PartitionIteratorType pitype, class GridImp >
Dune::ALU2dGridLeafIterator< 1, pitype, GridImp >::ALU2dGridLeafIterator ( const ThisType org  ) 

copy Constructor


Member Function Documentation

void Dune::ALU2dGridEntityPointer< codim, GridImp >::compactify (  )  [inherited]

release entity in order to reduce memory allocation

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

dereferencing

void Dune::ALU2dGridEntityPointer< codim, GridImp >::done (  )  [protected, inherited]

has to be called when iterator is finished

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

equality

const GridImp& Dune::ALU2dGridEntityPointer< codim, GridImp >::grid (  )  const [inline, inherited]

return reference top grid

template<PartitionIteratorType pitype, class GridImp >
void Dune::ALU2dGridLeafIterator< 1, 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::ALU2dGridLeafIterator< 1, pitype, GridImp >::operator= ( const ThisType org  ) 

assigment of iterator

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

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_ [mutable, protected, inherited]

entity that this EntityPointer points to

const FactoryType& Dune::ALU2dGridEntityPointer< codim, GridImp >::factory_ [protected, inherited]

reference to entity factory

ElementType* Dune::ALU2dGridEntityPointer< codim, GridImp >::item_ [mutable, protected, inherited]

pointer to the real (H)Element


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].