Dune::AlbertaGridTreeIterator< cd, pitype, GridImp > Class Template Reference
#include <agrid.hh>

Detailed Description
template<int cd, PartitionIteratorType pitype, class GridImp>
class Dune::AlbertaGridTreeIterator< cd, pitype, GridImp >
Enables iteration over all entities of a given codimension and level of a grid. Public Types | |
typedef AlbertaGridEntityPointer< cd, GridImp > | AlbertaGridEntityPointerType |
typedef of my type | |
enum | |
codimension of entity pointer | |
Public Member Functions | |
AlbertaGridTreeIterator (const AlbertaGridTreeIterator< cd, pitype, GridImp > &org) | |
Constructor making end iterator. | |
AlbertaGridTreeIterator< cd, pitype, GridImp > & | operator= (const AlbertaGridTreeIterator< cd, pitype, GridImp > &org) |
Constructor making end iterator. | |
AlbertaGridTreeIterator (const GridImp &grid, int travLevel, int proc, bool leafIt=false) | |
Constructor making end iterator. | |
AlbertaGridTreeIterator (const GridImp &grid, const AlbertaMarkerVector *vec, int travLevel, int proc, bool leafIt=false) | |
Constructor making begin iterator. | |
void | increment () |
increment | |
bool | equals (const AlbertaGridEntityPointerType &i) const |
equality | |
Entity & | dereference () const |
dereferencing | |
int | level () const |
ask for level of entities | |
void | done () |
has to be called when iterator is finished | |
Protected Member Functions | |
bool | leafIt () const |
returns true if entity comes from LeafIterator | |
EntityImp & | entityImp () |
return reference to internal entity imp | |
const EntityImp & | entityImp () const |
return const reference to internal entity imp | |
Protected Attributes | |
bool | isLeaf_ |
flag for leaf iterators |
Constructor & Destructor Documentation
Dune::AlbertaGridTreeIterator< codim, pitype, GridImp >::AlbertaGridTreeIterator | ( | const AlbertaGridTreeIterator< codim, pitype, GridImp > & | org | ) | [inline] |
Constructor making end iterator.
get the actual used enInfo
References ManageTravStack::create(), Dune::AlbertaGridEntityPointer< cd, GridImp >::entity_, ManageTravStack::getStack(), Dune::AlbertaGridTreeIterator< cd, pitype, GridImp >::manageStack_, Dune::AlbertaGridEntity< cd, dim, GridImp >::setElInfo(), and Dune::AlbertaGridEntity< cd, dim, GridImp >::setTraverseStack().
Member Function Documentation
AlbertaGridTreeIterator< codim, pitype, GridImp > & Dune::AlbertaGridTreeIterator< codim, pitype, GridImp >::operator= | ( | const AlbertaGridTreeIterator< codim, pitype, GridImp > & | org | ) | [inline] |
Constructor making end iterator.
get the actual used enInfo
References ManageTravStack::create(), ManageTravStack::getStack(), Dune::AlbertaGridIntersectionIterator< GridImp >::level_, Dune::AlbertaGridEntity< cd, dim, GridImp >::setElInfo(), and Dune::AlbertaGridEntity< cd, dim, GridImp >::setTraverseStack().
The documentation for this class was generated from the following files:
- agrid.hh
- albertagrid.cc