dune-grid
2.3beta2
|
Hierarchic Iterator of ALU2dGrid. More...
#include <dune/grid/alugrid/2d/iterator.hh>
Public Types | |
typedef GridImp::GridObjectFactoryType | FactoryType |
typedef GridImp::template Codim< 0 >::Entity | Entity |
type of entities we iterate | |
typedef GridImp::ctype | ctype |
type of coordinates, i.e. double | |
typedef ALU2dGridEntity < 0, dim, GridImp > | EntityImp |
tpye of entity implementation | |
enum | |
typedef GridImp::template Codim< codimension > ::EntitySeed | EntitySeed |
type of the seed | |
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 | |
ALU2dGridHierarchicIterator (const ALU2dGridHierarchicIterator< GridImp > &org) | |
the normal Constructor | |
void | increment () |
increment, go to next entity | |
ThisType & | operator= (const ALU2dGridHierarchicIterator< GridImp > &org) |
the assignment operator | |
bool | equals (const ThisType &i) const |
equality | |
Entity & | dereference () const |
dereferencing | |
int | level () const |
ask for level of entities | |
const GridImp & | grid () const |
return reference top grid |
Protected Member Functions | |
EntityImp & | entityImp () |
const EntityImp & | entityImp () 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 FactoryType & | factory_ |
reference to entity factory | |
EntitySeed | seed_ |
the essential information | |
EntityObj * | entity_ |
entity that this EntityPointer points to |
Hierarchic Iterator of ALU2dGrid.
typedef GridImp::ctype Dune::ALU2dGridHierarchicIterator< GridImp >::ctype |
type of coordinates, i.e. double
typedef GridImp::template Codim<0>::Entity Dune::ALU2dGridHierarchicIterator< GridImp >::Entity |
type of entities we iterate
typedef ALU2dGridEntity<0,dim,GridImp> Dune::ALU2dGridHierarchicIterator< GridImp >::EntityImp |
tpye of entity implementation
|
inherited |
|
inherited |
|
inherited |
type of the seed
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridHierarchicIterator< GridImp >::FactoryType |
|
inherited |
Dune::ALU2dGridHierarchicIterator< GridImp >::ALU2dGridHierarchicIterator | ( | const FactoryType & | factory, |
const HElementType & | elem, | ||
int | maxlevel, | ||
bool | end = false |
||
) |
the normal Constructor
Dune::ALU2dGridHierarchicIterator< GridImp >::ALU2dGridHierarchicIterator | ( | const ALU2dGridHierarchicIterator< GridImp > & | org | ) |
the normal Constructor
|
inherited |
dereferencing
|
protectedinherited |
has to be called when iterator is finished
|
protectedinherited |
|
protectedinherited |
|
inherited |
equality
|
inlineinherited |
return reference top grid
References Dune::ALU2dGridEntityPointer< codim, GridImp >::factory_.
void Dune::ALU2dGridHierarchicIterator< GridImp >::increment | ( | ) |
increment, go to next entity
|
inherited |
ask for level of entities
|
inline |
the assignment operator
|
protectedinherited |
update underlying item pointer and set entity
|
mutableprotectedinherited |
entity that this EntityPointer points to
|
protectedinherited |
reference to entity factory
|
protectedinherited |
the essential information