Dune Core Modules (2.4.1)

Dune::ALU3dGridLevelIterator< cd, pitype, GridImp > Class Template Reference

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

Public Types

typedef ALU3dGridLevelIterator< cd, pitype, GridImp > ThisType
 typedef of my type
 
typedef ALU3dGridEntitySeed< cd, GridImp > ALU3dGridEntitySeedType
 type of entity seed
 
typedef ALU3dGridEntityPointer< cd, GridImp > ALU3dGridEntityPointerType
 typedef of my type
 
typedef MakeableInterfaceObject< Entity > EntityObject
 underlying EntityImplementation
 
typedef ALU3dGridEntityPointer< codimension, GridImp > EntityPointerImp
 make type of entity pointer implementation available in derived classes
 

Public Member Functions

 ALU3dGridLevelIterator (const FactoryType &factory, int level, bool)
 Constructor for begin iterator.
 
 ALU3dGridLevelIterator (const FactoryType &factory, int level)
 Constructor for end iterator.
 
 ALU3dGridLevelIterator (const ThisType &org)
 Constructor.
 
void increment ()
 prefix increment
 
Entity & dereference () const
 dereference Entity, faster then the entity pointersmethod
 
void releaseEntity ()
 release entity
 
ThisTypeoperator= (const ThisType &org)
 assignment of iterators
 
int level () const
 ask for level of entities
 
bool equals (const ALU3dGridEntityPointerType &i) const
 equality
 

Protected Member Functions

void done ()
 has to be called when iterator is finished
 
void freeEntity ()
 put entity to entity stack
 
const GridImp & grid () const
 return reference to grid
 

Detailed Description

template<int cd, PartitionIteratorType pitype, class GridImp>
class Dune::ALU3dGridLevelIterator< cd, pitype, GridImp >

Enables iteration over all entities of a given codimension and level of a grid.


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)