#include <continuityData.hh>
Public Types | |
typedef std::map< uint, constCellData * >::iterator | iterator |
The STL iterator over the list of cells. | |
typedef std::map< uint, constCellData * >::const_iterator | const_iterator |
The constant STL iterator over the list of cells. | |
Public Member Functions | |
FaceData (const Connector2 &face) | |
const Connector2 & | face () const |
Returns face_ . | |
int | related (const FaceData &f) const |
Calls Connector::related. | |
Key | key () const |
Returns the key of the face. | |
void | addCell (const CellData &c) |
bool | hasCell (const Connector &c) const |
Returns true if c is in the list of cells. | |
void | replaceCell (const CellData &remove, const CellData &add) |
iterator | begin () |
Returns the STL beginning of the list of cells. | |
const_iterator | begin () const |
Returns the STL beginning of the list of cells. | |
iterator | end () |
Returns the STL end of the list of cells. | |
const_iterator | end () const |
Returns the STL end of the list of cells. | |
Static Public Member Functions | |
static void | checkRelatedFaces (std::map< uint, FaceData > &faceList) |
Protected Attributes | |
std::map< uint, const CellData * > | cells_ |
List of cells. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const FaceData &f) |
Stores additional information on a face, namely its cells.
Definition at line 143 of file continuityData.hh.
|
inherited |
The constant STL iterator over the list of cells.
Definition at line 44 of file continuityData.hh.
|
inherited |
The STL iterator over the list of cells.
Definition at line 42 of file continuityData.hh.
|
inline |
Constructor.
face | Face to which this data belongs |
Definition at line 149 of file continuityData.hh.
Adds c
to the list of cells. If there is a cell in the list of cells which is related to c
, c
is only inserted, if it is larger than the already present cell (which is removed). If c
is smaller than an already present cell, the insertion is canceled.
c | Cell to be added to cells_ |
|
inlineinherited |
Returns the STL beginning of the list of cells.
Definition at line 63 of file continuityData.hh.
|
inlineinherited |
Returns the STL beginning of the list of cells.
Definition at line 65 of file continuityData.hh.
Checks if there are faces with relations in faceList
. If this is the case, the smaller face is removed and the cell which is the ancestor of this smaller face (on the same level as the larger face) is added to the list of cells of the larger face.
|
inlineinherited |
Returns the STL end of the list of cells.
Definition at line 67 of file continuityData.hh.
|
inlineinherited |
Returns the STL end of the list of cells.
Definition at line 69 of file continuityData.hh.
|
inline |
Returns face_
.
Definition at line 151 of file continuityData.hh.
|
inline |
Returns the key of the face.
Definition at line 156 of file continuityData.hh.
Calls Connector::related.
Definition at line 153 of file continuityData.hh.
List of cells.
Definition at line 72 of file continuityData.hh.