Dune::IdentityGridLevelIterator< codim, pitype, GridImp > Class Template Reference
#include <identitygridleveliterator.hh>
Inheritance diagram for Dune::IdentityGridLevelIterator< codim, pitype, GridImp >:

Detailed Description
template<int codim, PartitionIteratorType pitype, class GridImp>
class Dune::IdentityGridLevelIterator< codim, pitype, GridImp >
Iterator over all entities of a given codimension and level of a grid. Public Types | |
enum | |
Codimension of entity pointed to. | |
typedef IdentityGridEntityPointer | EntityPointerImp |
Public Member Functions | |
IdentityGridLevelIterator (const GridImp *identityGrid, int level) | |
Constructor. | |
IdentityGridLevelIterator (const GridImp *identityGrid, int level, bool endDummy) | |
Constructor which create the end iterator. | |
void | increment () |
prefix increment | |
bool | equals (const IdentityGridEntityPointer< codim, GridImp > &i) const |
equality | |
Entity & | dereference () const |
dereferencing | |
void | compactify () |
Make this pointer as small as possible. | |
int | level () const |
ask for level of entity | |
Protected Attributes | |
IdentityGridMakeableEntity < codim, dim, GridImp > | virtualEntity_ |
virtual entity |
Member Typedef Documentation
template<int codim, class GridImp>
typedef IdentityGridEntityPointer Dune::IdentityGridEntityPointer< codim, GridImp >::EntityPointerImp [inherited] |
export the type of the EntityPointer Implementation. Necessary for the typeconversion between Iterators and EntityPointer
Constructor & Destructor Documentation
template<int codim, PartitionIteratorType pitype, class GridImp>
Dune::IdentityGridLevelIterator< codim, pitype, GridImp >::IdentityGridLevelIterator | ( | const GridImp * | identityGrid, | |
int | level, | |||
bool | endDummy | |||
) | [inline, explicit] |
Constructor which create the end iterator.
- Parameters:
-
endDummy Here only to distinguish it from the other constructor
The documentation for this class was generated from the following file: