Dune Core Modules (2.4.2)

Dune::ALU2dGridEntityPointer< codim, GridImp > Class Template Reference

#include <dune/grid/alugrid/2d/entity.hh>

Public Types

typedef GridImp::template Codim< codimension >::Entity Entity
 type of stored entity (interface)
 
typedef GridImp::template Codim< codimension >::EntitySeed EntitySeed
 type of the seed
 
typedef ALU2dGridEntity< codimension, dim, GridImp > EntityImp
 tpye of stored entity (implementation)
 

Public Member Functions

 ALU2dGridEntityPointer (const FactoryType &factory, const ElementType &item, int face=-1, int level=-1)
 Constructor for EntityPointer that points to an element.
 
 ALU2dGridEntityPointer (const FactoryType &factory, const EntitySeed &seed)
 Constructor for EntityPointer init of Level- and LeafIterator.
 
 ALU2dGridEntityPointer (const EntityImp &entity)
 Constructor for EntityPointer init of Level- and LeafIterator.
 
 ALU2dGridEntityPointer (const FactoryType &factory)
 Constructor for EntityPointer init of Level- and LeafIterator.
 
 ALU2dGridEntityPointer (const ThisType &org)
 Copy Constructor.
 
 ~ALU2dGridEntityPointer ()
 Destructor.
 
bool equals (const ThisType &i) const
 equality
 
Entitydereference () const
 dereferencing
 
int level () const
 ask for level of entities
 
ThisTypeoperator= (const ThisType &org)
 assigment operator
 
const GridImp & grid () const
 return reference top grid
 

Protected Member Functions

void done ()
 has to be called when iterator is finished
 
void updateEntityPointer (ElementType *item, int face=-1, int level=-1)
 update underlying item pointer and set entity
 

Protected Attributes

const FactoryType & factory_
 reference to entity factory
 
EntitySeed seed_
 the essential information
 
EntityObjentity_
 entity that this EntityPointer points to
 

Detailed Description

template<int codim, class GridImp>
class Dune::ALU2dGridEntityPointer< codim, GridImp >

Enables iteration over all entities of a given codimension and level of a grid.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 2, 22:35, 2024)