Dune Core Modules (2.4.2)

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

enum  
 Codimension of entity pointed to.
 
typedef IdentityGridEntityPointer EntityPointerImp
 

Public Member Functions

 IdentityGridLeafIterator (const GridImp *identityGrid)
 
 IdentityGridLeafIterator (const GridImp *identityGrid, bool endDummy)
 Constructor which create the end iterator. More...
 
void increment ()
 prefix increment
 
bool equals (const IdentityGridEntityPointer &i) const
 equality
 
bool equals (const IdentityGridEntityPointer< codim, GridImp, ForeignHostGridEntityPointer > &entityPointer) const
 equality with EntityPointer based on different host EntityPointer
 
Entity dereference () const
 dereferencing
 
void compactify ()
 Make this pointer as small as possible.
 
int level () const
 ask for level of entity
 

Protected Attributes

HostGridEntityPointer hostEntityPointer_
 host EntityPointer
 

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

◆ EntityPointerImp

typedef IdentityGridEntityPointer Dune::IdentityGridEntityPointer< codim, GridImp, GridImp::HostGridType::template Codim< codim >::template Partition< pitype >::LeafIterator >::EntityPointerImp
inherited

export the type of the EntityPointer Implementation. Necessary for the typeconversion between Iterators and EntityPointer

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)