Package: GrAL Base        GrAL: Packages | Concepts | Homepage

GrAL::FacetIterator< FacOnCellIt > Class Template Reference
[Grid Iterators]

A generic iterator over the facets of a grid.

This works by iterating over the cells of the grid and over the facets of the cells, skipping facets that already have been visited from the other side, i.e. the opposite cell. To this end we require the cells to be ordered by a relation < and define that facets will be visited from the smaller cells. More...

#include </home/guntram/tmp/GrAL/gral/base/include/Gral/Iterators/facet-iterator.h>

List of all members.

Public Types

typedef FacOnCellIt::grid_type grid_type
typedef grid_types< grid_type > gt
typedef FacOnCellIt local_it
typedef gt::CellIterator global_it
typedef gt::Facet Facet
typedef grid_type anchor_type
typedef Facet value_type

Public Member Functions

 FacetIterator (grid_type const &g)
 FacetIterator (const global_it &cc)
selfoperator++ ()
Facet operator* () const
bool IsDone () const
const grid_type & TheGrid ()

Friends

bool operator== (const self &ls, const self &rs)
bool operator!= (const self &ls, const self &rs)
bool operator< (const self &ls, const self &rs)


Detailed Description

template<class FacOnCellIt>
class GrAL::FacetIterator< FacOnCellIt >

A generic iterator over the facets of a grid.

This works by iterating over the cells of the grid and over the facets of the cells, skipping facets that already have been visited from the other side, i.e. the opposite cell. To this end we require the cells to be ordered by a relation < and define that facets will be visited from the smaller cells.

See also:
Module Grid Iterators
Todo:
Test

Definition at line 45 of file facet-iterator.h.


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

©  Guntram Berti 1997-2009. See the GrAL Homepage for up-to-date information.

Generated on Tue Mar 31 19:11:43 2009 for GrAL Base by doxygen 1.5.8