#include <continuityData.hh>
Public Member Functions | |
| CellData (const Connector &cell, const CellData *father) | |
| const Connector & | cell () const |
Returns cell_. | |
| const Connector1 * | edge (const uint i) const |
| Returns the ith edge of the cell. | |
| const Connector2 * | face (const uint i) const |
| Returns the ith face of the cell. | |
| bool | hasFace (const Connector2 &f) const |
Returns true if face f exists. | |
| bool | hasEdge (const Connector1 &e) const |
Returns true if edge e exists. | |
| const CellData * | father () const |
| Returns the (1st) father (might be 0) | |
| ConnectorData | fathers () const |
Returns father_ (might be 0) | |
| const CellData * | father (uint i) const |
| const ConnectorData | fathers (uint i) const |
| void | addFather (const CellData *father) |
| Adds a father, if its not 0. | |
| int | related (const CellData &c) const |
| Calls Connector::related. | |
| Key | key () const |
| Returns the key of the cell. | |
Stores additional information on a cell, namely its father.
Definition at line 80 of file continuityData.hh.
Constructor.
| cell | Cell to which this data belongs |
| father | Father of this cell (might be 0) |
Definition at line 86 of file continuityData.hh.
|
inline |
Returns cell_.
Definition at line 92 of file continuityData.hh.
|
inline |
Returns the (1st) father (might be 0)
Definition at line 102 of file continuityData.hh.
Returns the (1st) father of the i.th level i = 0 : returns itself i = 1 : returns the fathers i = 2 : returns the grandfathers
|
inline |
Returns father_ (might be 0)
Definition at line 109 of file continuityData.hh.
| const ConnectorData concepts::CellData::fathers | ( | uint | i | ) | const |
Returns the fathers of the i.th level Its assumed, that all the fathers have common grandfathers.
|
inline |
Returns the key of the cell.
Definition at line 126 of file continuityData.hh.
Calls Connector::related.
Definition at line 123 of file continuityData.hh.