Stores additional information on a face, namely its cells. More...
#include <continuityData.hh>


Public Types | |
| typedef std::map< uint, const CellData * >::const_iterator | const_iterator |
| The constant STL iterator over the list of cells. | |
| typedef std::map< uint, const CellData * >::iterator | iterator |
| The STL iterator over the list of cells. | |
Public Member Functions | |
| void | addCell (const CellData &c) |
Adds c to the list of cells. | |
| iterator | begin () |
| Returns the STL beginning of the list of cells. | |
| const_iterator | begin () const |
| Returns the STL beginning of the list of cells. | |
| const_iterator | end () const |
| Returns the STL end of the list of cells. | |
| iterator | end () |
| Returns the STL end of the list of cells. | |
| const Connector2 & | face () const |
Returns face_. | |
| FaceData (const Connector2 &face) | |
| Constructor. | |
| bool | hasCell (const Connector &c) const |
Returns true if c is in the list of cells. | |
| Key | key () const |
| Returns the key of the face. | |
| int | related (const FaceData &f) const |
| Calls Connector::related. | |
| void | replaceCell (const CellData &remove, const CellData &add) |
Removes remove from the list of cells and tries to add add to this list using addCell. | |
Static Public Member Functions | |
| static void | checkRelatedFaces (std::map< uint, FaceData > &faceList) |
Checks if there are faces with relations in faceList. | |
Protected Attributes | |
| std::map< uint, const CellData * > | cells_ |
| List of cells. | |
Private Attributes | |
| const Connector2 & | face_ |
| Face. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const FaceData &f) |
Stores additional information on a face, namely its cells.
Definition at line 140 of file continuityData.hh.
typedef std::map<uint, const CellData*>::const_iterator concepts::ConnectorData::const_iterator [inherited] |
The constant STL iterator over the list of cells.
Definition at line 41 of file continuityData.hh.
typedef std::map<uint, const CellData*>::iterator concepts::ConnectorData::iterator [inherited] |
The STL iterator over the list of cells.
Definition at line 39 of file continuityData.hh.
| concepts::FaceData::FaceData | ( | const Connector2 & | face | ) | [inline] |
Constructor.
| face | Face to which this data belongs |
Definition at line 146 of file continuityData.hh.
| void concepts::ConnectorData::addCell | ( | const CellData & | c | ) | [inherited] |
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_ |
| iterator concepts::ConnectorData::begin | ( | ) | [inline, inherited] |
Returns the STL beginning of the list of cells.
Definition at line 60 of file continuityData.hh.
| const_iterator concepts::ConnectorData::begin | ( | ) | const [inline, inherited] |
Returns the STL beginning of the list of cells.
Definition at line 62 of file continuityData.hh.
| static void concepts::FaceData::checkRelatedFaces | ( | std::map< uint, FaceData > & | faceList | ) | [static] |
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.
| const_iterator concepts::ConnectorData::end | ( | ) | const [inline, inherited] |
Returns the STL end of the list of cells.
Definition at line 66 of file continuityData.hh.
| iterator concepts::ConnectorData::end | ( | ) | [inline, inherited] |
Returns the STL end of the list of cells.
Definition at line 64 of file continuityData.hh.
| const Connector2& concepts::FaceData::face | ( | ) | const [inline] |
Returns face_.
Definition at line 148 of file continuityData.hh.
| bool concepts::ConnectorData::hasCell | ( | const Connector & | c | ) | const [inherited] |
Returns true if c is in the list of cells.
| Key concepts::FaceData::key | ( | ) | const [inline] |
Returns the key of the face.
Definition at line 153 of file continuityData.hh.

| int concepts::FaceData::related | ( | const FaceData & | f | ) | const [inline] |
Calls Connector::related.
Definition at line 150 of file continuityData.hh.

| std::ostream& operator<< | ( | std::ostream & | os, |
| const FaceData & | f | ||
| ) | [friend] |
std::map<uint, const CellData*> concepts::ConnectorData::cells_ [protected, inherited] |
List of cells.
Definition at line 69 of file continuityData.hh.
const Connector2& concepts::FaceData::face_ [private] |
Face.
Definition at line 162 of file continuityData.hh.