Dune Core Modules (2.4.2)

Dune::IdentityGridHierarchicIterator< GridImp > Class Template Reference

Iterator over the descendants of an entity.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. More...

#include <dune/grid/identitygrid/identitygridhierarchiciterator.hh>

Public Types

enum  
 Codimension of entity pointed to.
 
typedef IdentityGridEntityPointer EntityPointerImp
 

Public Member Functions

 IdentityGridHierarchicIterator (const GridImp *identityGrid, const Entity &startEntity, int maxLevel)
 the default Constructor
 
 IdentityGridHierarchicIterator (const GridImp *identityGrid, const Entity &startEntity, int maxLevel, bool endDummy)
 
void increment ()
 
bool equals (const IdentityGridEntityPointer &i) const
 equality
 
bool equals (const IdentityGridEntityPointer< codim, GridImp, ForeignHostGridEntityPointer > &entityPointer) const
 equality with EntityPointer based on different host EntityPointer
 
Entity dereference () const
 dereferencing
 
void compactify ()
 Make this pointer as small as possible.
 
int level () const
 ask for level of entity
 

Protected Attributes

HostGridEntityPointer hostEntityPointer_
 host EntityPointer
 

Detailed Description

template<class GridImp>
class Dune::IdentityGridHierarchicIterator< GridImp >

Iterator over the descendants of an entity.

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.

Member Typedef Documentation

◆ EntityPointerImp

typedef IdentityGridEntityPointer Dune::IdentityGridEntityPointer< codim, GridImp, GridImp::HostGridType::template Codim< 0 >::Entity::HierarchicIterator >::EntityPointerImp
inherited

export the type of the EntityPointer Implementation. Necessary for the typeconversion between Iterators and EntityPointer

Constructor & Destructor Documentation

◆ IdentityGridHierarchicIterator()

template<class GridImp >
Dune::IdentityGridHierarchicIterator< GridImp >::IdentityGridHierarchicIterator ( const GridImp *  identityGrid,
const Entity &  startEntity,
int  maxLevel,
bool  endDummy 
)
inlineexplicit
Todo:
Please doc me !

Member Function Documentation

◆ increment()


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 (Dec 20, 23:31, 2024)