dune-grid 2.9.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::AlbertaGridHierarchicIterator< GridImp > Class Template Reference

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

Public Types

typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef GridImp::ctype ctype
 
typedef MakeableInterfaceObject< EntityEntityObject
 
typedef EntityObject::ImplementationType EntityImp
 
typedef EntityImp::ElementInfo ElementInfo
 

Public Member Functions

 AlbertaGridHierarchicIterator ()
 
 AlbertaGridHierarchicIterator (const GridImp &grid, const ElementInfo &elementInfo, int maxLevel)
 the normal Constructor More...
 
 AlbertaGridHierarchicIterator (const GridImp &grid, int actLevel, int maxLevel)
 the default Constructor More...
 
 AlbertaGridHierarchicIterator (const This &other)
 copy onstructor More...
 
Thisoperator= (const This &other)
 assignment operator More...
 
void increment ()
 increment More...
 
bool equals (const This &other) const
 equality More...
 
Entitydereference () const
 dereferencing More...
 
int level () const
 ask for level of entities More...
 

Protected Member Functions

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

Detailed Description

template<class GridImp>
class Dune::AlbertaGridHierarchicIterator< GridImp >

Mesh entities of codimension 0 ("elements") allow to visit all entities of codimension 0 obtained through nested, hierarchic refinement of the entity. Iteration over this set of entities is provided by the HIerarchicIterator, starting from a given entity. This is redundant but important for memory efficient implementations of unstru hierarchically refined meshes.

Member Typedef Documentation

◆ ctype

template<class GridImp >
typedef GridImp::ctype Dune::AlbertaGridHierarchicIterator< GridImp >::ctype

◆ ElementInfo

template<class GridImp >
typedef EntityImp::ElementInfo Dune::AlbertaGridHierarchicIterator< GridImp >::ElementInfo

◆ Entity

template<class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::AlbertaGridHierarchicIterator< GridImp >::Entity

◆ EntityImp

template<class GridImp >
typedef EntityObject::ImplementationType Dune::AlbertaGridHierarchicIterator< GridImp >::EntityImp

◆ EntityObject

template<class GridImp >
typedef MakeableInterfaceObject< Entity > Dune::AlbertaGridHierarchicIterator< GridImp >::EntityObject

Constructor & Destructor Documentation

◆ AlbertaGridHierarchicIterator() [1/4]

template<class GridImp >
Dune::AlbertaGridHierarchicIterator< GridImp >::AlbertaGridHierarchicIterator ( )
inline

◆ AlbertaGridHierarchicIterator() [2/4]

template<class GridImp >
Dune::AlbertaGridHierarchicIterator< GridImp >::AlbertaGridHierarchicIterator ( const GridImp &  grid,
const ElementInfo elementInfo,
int  maxLevel 
)
inline

the normal Constructor

◆ AlbertaGridHierarchicIterator() [3/4]

template<class GridImp >
Dune::AlbertaGridHierarchicIterator< GridImp >::AlbertaGridHierarchicIterator ( const GridImp &  grid,
int  actLevel,
int  maxLevel 
)
inline

the default Constructor

◆ AlbertaGridHierarchicIterator() [4/4]

template<class GridImp >
Dune::AlbertaGridHierarchicIterator< GridImp >::AlbertaGridHierarchicIterator ( const This other)
inline

copy onstructor

Member Function Documentation

◆ dereference()

template<class GridImp >
Entity & Dune::AlbertaGridHierarchicIterator< GridImp >::dereference ( ) const
inline

dereferencing

◆ equals()

template<class GridImp >
bool Dune::AlbertaGridHierarchicIterator< GridImp >::equals ( const This other) const
inline

equality

◆ grid()

template<class GridImp >
const GridImp & Dune::AlbertaGridHierarchicIterator< GridImp >::grid ( ) const
inlineprotected

obtain a reference to the grid

◆ increment()

template<class GridImp >
void Dune::AlbertaGridHierarchicIterator< GridImp >::increment
inline

increment

◆ level()

template<class GridImp >
int Dune::AlbertaGridHierarchicIterator< GridImp >::level ( ) const
inline

ask for level of entities

◆ operator=()

template<class GridImp >
AlbertaGridHierarchicIterator< GridImp >::This & Dune::AlbertaGridHierarchicIterator< GridImp >::operator= ( const This other)
inline

assignment operator


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