Dune Core Modules (2.4.1)

Dune::ALU2dGridHierarchicIterator< GridImp > Class Template Reference

Hierarchic Iterator of ALU2dGrid. More...

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

Public Types

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
 
typedef GridImp::template Codim< codimension >::EntitySeed EntitySeed
 type of the seed
 

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
 
ThisTypeoperator= (const ALU2dGridHierarchicIterator< GridImp > &org)
 the assignment operator
 
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

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
 
EntityObjentity_
 entity that this EntityPointer points to
 

Detailed Description

template<class GridImp>
class Dune::ALU2dGridHierarchicIterator< GridImp >

Hierarchic Iterator of ALU2dGrid.


The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)