|
dune-grid
2.2.0
|
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
Reimplemented from Dune::ALU2dGridEntityPointer< 0, GridImp >.
| typedef ALU2dGridEntity<0,dim,GridImp> Dune::ALU2dGridHierarchicIterator< GridImp >::EntityImp |
tpye of entity implementation
Reimplemented from Dune::ALU2dGridEntityPointer< 0, GridImp >.
typedef MakeableInterfaceObject<Entity> Dune::ALU2dGridEntityPointer< codim, GridImp >::EntityObj [inherited] |
typedef ALU2dGridEntityPointer<codimension,GridImp> Dune::ALU2dGridEntityPointer< codim, GridImp >::EntityPointerImp [inherited] |
typedef GridImp::template Codim<codimension>::EntitySeed Dune::ALU2dGridEntityPointer< codim, GridImp >::EntitySeed [inherited] |
type of the seed
| typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridHierarchicIterator< GridImp >::FactoryType |
Reimplemented from Dune::ALU2dGridEntityPointer< 0, GridImp >.
anonymous enum [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
| 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
References Dune::ALU2dGridEntityPointer< codim, GridImp >::factory_.
| void Dune::ALU2dGridHierarchicIterator< GridImp >::increment | ( | ) |
increment, go to next entity
| int Dune::ALU2dGridEntityPointer< codim, GridImp >::level | ( | ) | const [inherited] |
ask for level of entities
| ThisType& Dune::ALU2dGridHierarchicIterator< GridImp >::operator= | ( | const ALU2dGridHierarchicIterator< GridImp > & | org | ) | [inline] |
the assignment operator
| void Dune::ALU2dGridEntityPointer< codim, GridImp >::updateEntityPointer | ( | ElementType * | item, |
| int | face = -1, |
||
| int | level = -1 |
||
| ) | [protected, inherited] |
update underlying item pointer and set entity
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
EntitySeed Dune::ALU2dGridEntityPointer< codim, GridImp >::seed_ [protected, inherited] |
the essential information
1.7.6.1