dune-grid
2.4.1-rc2
|
#include <dune/grid/sgrid.hh>
Public Types | |
typedef GridImp::template Codim< 0 >::Entity | Entity |
typedef GridImp::ctype | ctype |
enum | { codimension = codim } |
codimension of entity pointer More... | |
typedef SEntityPointer< codim, GridImp > | EntityPointerImp |
Public Member Functions | |
void | increment () |
increment More... | |
SHierarchicIterator (GridImp *_grid, const Dune::SEntity< 0, GridImp::dimension, GridImp > &_e, int _maxLevel, bool makeend) | |
bool | equals (const SEntityPointer< codim, GridImp > &i) const |
equality More... | |
Entity & | dereference () const |
dereferencing More... | |
int | level () const |
ask for level of entity More... | |
Protected Types | |
typedef AutoPtrStack< Entity > | EntityStackType |
Protected Member Functions | |
SEntity< codim, dim, GridImp > & | realEntity () const |
Entity & | entity () const |
Entity * | getEntity (GridImp *_grid, int _l, int _id) const |
Static Protected Member Functions | |
static EntityStackType & | enStack () |
Protected Attributes | |
GridImp * | grid |
my grid More... | |
int | l |
level where element is on More... | |
int | index |
my consecutive index More... | |
Entity * | e |
virtual entity More... | |
typedef GridImp::ctype Dune::SHierarchicIterator< GridImp >::ctype |
typedef GridImp::template Codim<0>::Entity Dune::SHierarchicIterator< GridImp >::Entity |
|
inherited |
|
protectedinherited |
|
inherited |
|
inline |
constructor. Here is how it works: If with_sons is true, push start element and all its sons on the stack, so the initial element is popped last. For an end iterator, push the starting element and no sons. Then the iteration will stop when both iterators have the same id AND the stack is empty
References Dune::Alberta::min().
|
inherited |
dereferencing
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inherited |
equality
|
inlineprotectedinherited |
void Dune::SHierarchicIterator< GridImp >::increment | ( | ) |
increment
|
inherited |
ask for level of entity
|
inlineprotectedinherited |
|
mutableprotectedinherited |
virtual entity
|
protectedinherited |
my grid
Referenced by Dune::SEntityPointer< 0, GridImp >::operator=().
|
mutableprotectedinherited |
my consecutive index
Referenced by Dune::SEntityPointer< 0, GridImp >::operator=().
|
protectedinherited |
level where element is on
Referenced by Dune::SEntityPointer< 0, GridImp >::operator=().