dune-grid
2.2.0
|
#include <dune/grid/sgrid.hh>
Public Types | |
typedef GridImp::template Codim< 0 >::Entity | Entity |
typedef GridImp::ctype | ctype |
enum | |
codimension of entity pointer More... | |
typedef SEntityPointer< codim, GridImp > | EntityPointerImp |
Public Member Functions | |
void | increment () |
increment | |
SHierarchicIterator (GridImp *_grid, const Dune::SEntity< 0, GridImp::dimension, GridImp > &_e, int _maxLevel, bool makeend) | |
bool | equals (const SEntityPointer< codim, GridImp > &i) const |
equality | |
Entity & | dereference () const |
dereferencing | |
int | level () const |
ask for level of entity |
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 | |
int | l |
level where element is on | |
int | index |
my consecutive index | |
Entity * | e |
virtual entity |
Friends | |
class | SHierarchicIterator< const GridImp > |
typedef GridImp::ctype Dune::SHierarchicIterator< GridImp >::ctype |
typedef GridImp::template Codim<0>::Entity Dune::SHierarchicIterator< GridImp >::Entity |
|
inherited |
|
protectedinherited |
|
inherited |
codimension of entity pointer
|
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::SEntityPointer< 0, GridImp >::entity(), Dune::SEntityPointer< 0, GridImp >::grid, Dune::SHierarchicIterator< GridImp >::increment(), and Dune::Alberta::min().
|
inherited |
dereferencing
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
References Dune::SEntityPointer< codim, GridImp >::e, Dune::SEntityPointer< codim, GridImp >::getEntity(), Dune::SEntityPointer< codim, GridImp >::grid, Dune::SEntityPointer< codim, GridImp >::index, and Dune::SEntityPointer< codim, GridImp >::l.
Referenced by Dune::SHierarchicIterator< GridImp >::SHierarchicIterator().
|
inherited |
equality
|
inlineprotectedinherited |
void Dune::SHierarchicIterator< GridImp >::increment | ( | ) |
increment
Referenced by Dune::SHierarchicIterator< GridImp >::SHierarchicIterator().
|
inherited |
ask for level of entity
|
inlineprotectedinherited |
|
friend |
|
mutableprotectedinherited |
virtual entity
|
protectedinherited |
my grid
Referenced by Dune::SHierarchicIterator< GridImp >::SHierarchicIterator().
|
mutableprotectedinherited |
my consecutive index
|
protectedinherited |
level where element is on