- Home
- About DUNE
- Download
- Documentation
- Community
- Development
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 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 | |
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 | |
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 | |
ElementType * | item_ |
pointer to the real (H)Element | |
EntityObj * | entity_ |
entity that this EntityPointer points to | |
int | level_ |
int | face_ |
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 :: 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
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
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
int Dune::ALU2dGridEntityPointer< codim, GridImp >::face_ [protected, inherited] |
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
int Dune::ALU2dGridEntityPointer< codim, GridImp >::level_ [mutable, protected, inherited] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].