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  

facet_handle Struct Template Reference
[Grid Elements and Handles]

A generic facet handle defined by a (cell handle, local facet) pair. More...

#include <facet-handle.h>

List of all members.

Public Methods

 facet_handle ()
 facet_handle (CHandle cc, int llf)
int local_facet () const

Public Attributes

CHandle c
int lf

Related Functions

(Note that these are not member functions.)

bool operator== (facet_handle< CHandle > const &ls, facet_handle< CHandle > const &rs)
bool operator!= (facet_handle< CHandle > const &ls, facet_handle< CHandle > const &rs)
bool operator< (facet_handle< CHandle > const &ls, facet_handle< CHandle > const &rs)
ostream & operator<< (ostream &out, facet_handle< CHandle > const &e)
istream & operator>> (istream &in, facet_handle< CHandle > &e)
size_t hash_facet_handle (facet_handle< int > const &h)


Detailed Description

template<class CHandle>
struct facet_handle< CHandle >

A generic facet handle defined by a (cell handle, local facet) pair.

In the pair (c,lf) c is a cell handle, lf is an integer giving the local number of the facet on the cell c: lf \in [0, Cell(c).NumOfFacets()]

On construction, one has to take care that only one of two possible handles for an interior facet is ever created. Else two handle denoting the same facet could compare not equal. This generally requires access to cell neighbors, i.e. a grid with CellOnCellIterator defined.

See also:
hash<facet_handle>

Definition at line 34 of file facet-handle.h.


The documentation for this struct 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:05:58 2002 for GrAL Base by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000