dune-grid  2.3beta2
Classes | Public Member Functions | List of all members
Dune::AlbertaMarkerVector< dim, dimworld > Class Template Reference

marker assigning subentities to one element containing them More...

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

Classes

struct  MarkSubEntities
struct  NoMarkSubEntities

Public Member Functions

 AlbertaMarkerVector (const DofNumbering &dofNumbering)
 create AlbertaMarkerVector with empty vectors
 AlbertaMarkerVector (const This &other)
 ~AlbertaMarkerVector ()
template<int codim>
bool subEntityOnElement (const ElementInfo &elementInfo, int subEntity) const
 visit subentity on this element?
template<int firstCodim, class Iterator >
void markSubEntities (const Iterator &begin, const Iterator &end)
void clear ()
bool up2Date () const
 return true if marking is up to date
void print (std::ostream &out=std::cout) const
 print for debugin' only

Detailed Description

template<int dim, int dimworld>
class Dune::AlbertaMarkerVector< dim, dimworld >

marker assigning subentities to one element containing them

This Helper class is used for the level and leaf iterators of higher codimension to visit each entity only once (on the element assigned to it by this marker)

Constructor & Destructor Documentation

template<int dim, int dimworld>
Dune::AlbertaMarkerVector< dim, dimworld >::AlbertaMarkerVector ( const DofNumbering dofNumbering)
inlineexplicit

create AlbertaMarkerVector with empty vectors

template<int dim, int dimworld>
Dune::AlbertaMarkerVector< dim, dimworld >::AlbertaMarkerVector ( const This other)
inline
template<int dim, int dimworld>
Dune::AlbertaMarkerVector< dim, dimworld >::~AlbertaMarkerVector ( )
inline

Member Function Documentation

template<int dim, int dimworld>
void Dune::AlbertaMarkerVector< dim, dimworld >::clear ( )
inline
template<int dim, int dimworld>
template<int firstCodim, class Iterator >
void Dune::AlbertaMarkerVector< dim, dimworld >::markSubEntities ( const Iterator &  begin,
const Iterator &  end 
)
inline
template<int dim, int dimworld>
void Dune::AlbertaMarkerVector< dim, dimworld >::print ( std::ostream &  out = std::cout) const
inline

print for debugin' only

template<int dim, int dimworld>
template<int codim>
bool Dune::AlbertaMarkerVector< dim, dimworld >::subEntityOnElement ( const ElementInfo elementInfo,
int  subEntity 
) const
inline

visit subentity on this element?

template<int dim, int dimworld>
bool Dune::AlbertaMarkerVector< dim, dimworld >::up2Date ( ) const
inline

return true if marking is up to date

Referenced by Dune::AlbertaGrid< dim, dimworld >::leafbegin().


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