dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::IdentityGridLeafIterator< codim, pitype, GridImp > Class Template Reference

Iterator over all entities of a given codimension and level of a grid. More...

#include <dune/grid/identitygrid/identitygridleafiterator.hh>

Public Types

typedef GridImp::template Codim< codim >::Entity Entity
 

Public Member Functions

 IdentityGridLeafIterator (const GridImp *identityGrid)
 
 IdentityGridLeafIterator (const GridImp *identityGrid, bool endDummy)
 Constructor which create the end iterator. More...
 
void increment ()
 prefix increment More...
 
Entity dereference () const
 dereferencing More...
 
bool equals (const IdentityGridLeafIterator &i) const
 equality More...
 

Static Public Attributes

static constexpr int codimension = codim
 

Detailed Description

template<int codim, PartitionIteratorType pitype, class GridImp>
class Dune::IdentityGridLeafIterator< codim, pitype, GridImp >

Iterator over all entities of a given codimension and level of a grid.

Member Typedef Documentation

◆ Entity

template<int codim, PartitionIteratorType pitype, class GridImp >
typedef GridImp::template Codim<codim>::Entity Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::Entity

Constructor & Destructor Documentation

◆ IdentityGridLeafIterator() [1/2]

template<int codim, PartitionIteratorType pitype, class GridImp >
Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::IdentityGridLeafIterator ( const GridImp *  identityGrid)
inlineexplicit
Todo:
Please doc me !

◆ IdentityGridLeafIterator() [2/2]

template<int codim, PartitionIteratorType pitype, class GridImp >
Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::IdentityGridLeafIterator ( const GridImp *  identityGrid,
bool  endDummy 
)
inlineexplicit

Constructor which create the end iterator.

Parameters
endDummyHere only to distinguish it from the other constructor
identityGridpointer to grid instance

Member Function Documentation

◆ dereference()

template<int codim, PartitionIteratorType pitype, class GridImp >
Entity Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::dereference ( ) const
inline

dereferencing

◆ equals()

template<int codim, PartitionIteratorType pitype, class GridImp >
bool Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::equals ( const IdentityGridLeafIterator< codim, pitype, GridImp > &  i) const
inline

equality

◆ increment()

template<int codim, PartitionIteratorType pitype, class GridImp >
void Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::increment ( )
inline

prefix increment

Member Data Documentation

◆ codimension

template<int codim, PartitionIteratorType pitype, class GridImp >
constexpr int Dune::IdentityGridLeafIterator< codim, pitype, GridImp >::codimension = codim
staticconstexpr

The documentation for this class was generated from the following file: