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

#include <dune/grid/albertagrid/treeiterator.hh>

Inheritance diagram for Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >:
Inheritance graph

Public Types

typedef Alberta::MeshPointer< dimensionMeshPointer
 
typedef MeshPointer::MacroIterator MacroIterator
 
typedef GridImp::template Codim< codim >::Entity Entity
 
typedef MakeableInterfaceObject< EntityEntityObject
 
typedef EntityObject::ImplementationType EntityImp
 
typedef EntityImp::ElementInfo ElementInfo
 
typedef AlbertaMarkerVector< dimension, dimensionworldMarkerVector
 

Public Member Functions

 AlbertaGridTreeIterator ()
 
 AlbertaGridTreeIterator (const This &other)
 Constructor making end iterator. More...
 
Thisoperator= (const This &other)
 Constructor making end iterator. More...
 
 AlbertaGridTreeIterator (const GridImp &grid, int travLevel)
 Constructor making end iterator. More...
 
 AlbertaGridTreeIterator (const GridImp &grid, const MarkerVector *marker, int travLevel)
 Constructor making begin iterator. More...
 
bool equals (const This &other) const
 equality More...
 
Entitydereference () const
 dereferencing More...
 
int level () const
 ask for level of entities More...
 
void increment ()
 increment More...
 

Static Public Attributes

static const int dimension = GridImp::dimension
 
static const int codimension = codim
 
static const int dimensionworld = GridImp::dimensionworld
 

Protected Member Functions

const GridImp & grid () const
 obtain a reference to the grid More...
 

Detailed Description

template<int codim, class GridImp, bool leafIterator>
class Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >

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

Member Typedef Documentation

◆ ElementInfo

template<int codim, class GridImp , bool leafIterator>
typedef EntityImp::ElementInfo Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::ElementInfo

◆ Entity

template<int codim, class GridImp , bool leafIterator>
typedef GridImp::template Codim<codim>::Entity Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::Entity

◆ EntityImp

template<int codim, class GridImp , bool leafIterator>
typedef EntityObject::ImplementationType Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::EntityImp

◆ EntityObject

template<int codim, class GridImp , bool leafIterator>
typedef MakeableInterfaceObject< Entity > Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::EntityObject

◆ MacroIterator

template<int codim, class GridImp , bool leafIterator>
typedef MeshPointer::MacroIterator Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::MacroIterator

◆ MarkerVector

template<int codim, class GridImp , bool leafIterator>
typedef AlbertaMarkerVector< dimension, dimensionworld > Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::MarkerVector

◆ MeshPointer

template<int codim, class GridImp , bool leafIterator>
typedef Alberta::MeshPointer< dimension > Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::MeshPointer

Constructor & Destructor Documentation

◆ AlbertaGridTreeIterator() [1/4]

template<int codim, class GridImp , bool leafIterator>
Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::AlbertaGridTreeIterator
inline

◆ AlbertaGridTreeIterator() [2/4]

template<int codim, class GridImp , bool leafIterator>
Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::AlbertaGridTreeIterator ( const This other)
inline

Constructor making end iterator.

◆ AlbertaGridTreeIterator() [3/4]

template<int codim, class GridImp , bool leafIterator>
Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::AlbertaGridTreeIterator ( const GridImp &  grid,
int  travLevel 
)
inline

Constructor making end iterator.

◆ AlbertaGridTreeIterator() [4/4]

template<int codim, class GridImp , bool leafIterator>
Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::AlbertaGridTreeIterator ( const GridImp &  grid,
const MarkerVector marker,
int  travLevel 
)
inline

Constructor making begin iterator.

Member Function Documentation

◆ dereference()

template<int codim, class GridImp , bool leafIterator>
Entity & Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::dereference ( ) const
inline

dereferencing

◆ equals()

template<int codim, class GridImp , bool leafIterator>
bool Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::equals ( const This other) const
inline

equality

◆ grid()

template<int codim, class GridImp , bool leafIterator>
const GridImp & Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::grid ( ) const
inlineprotected

obtain a reference to the grid

◆ increment()

template<int codim, class GridImp , bool leafIterator>
void Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::increment
inline

increment

◆ level()

template<int codim, class GridImp , bool leafIterator>
int Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::level ( ) const
inline

ask for level of entities

◆ operator=()

template<int codim, class GridImp , bool leafIterator>
AlbertaGridTreeIterator< codim, GridImp, leafIterator >::This & Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::operator= ( const This other)
inline

Constructor making end iterator.

Member Data Documentation

◆ codimension

template<int codim, class GridImp , bool leafIterator>
const int Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::codimension = codim
static

◆ dimension

template<int codim, class GridImp , bool leafIterator>
const int Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::dimension = GridImp::dimension
static

◆ dimensionworld

template<int codim, class GridImp , bool leafIterator>
const int Dune::AlbertaGridTreeIterator< codim, GridImp, leafIterator >::dimensionworld = GridImp::dimensionworld
static

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