Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

FacetIterator Class Template Reference
[Grid Iterators]

A generic iterator over the facets of a grid. More...

#include <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 Methods

 FacetIterator ()
 FacetIterator (grid_type const &g)
 FacetIterator (const global_it &cc)
self & operator++ ()
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 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

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


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:06:00 2002 for GrAL Base by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000