concepts::CellData Class Reference
Stores additional information on a cell, namely its father. More...
#include <continuityData.hh>
Public Member Functions | |
void | addFather (const CellData *father) |
Adds a father, if its not 0. More... | |
const Connector & | cell () const |
Returns cell_ . More... | |
CellData (const Connector &cell, const CellData *father) | |
Constructor. More... | |
const Connector1 * | edge (const uint i) const |
Returns the ith edge of the cell. More... | |
const Connector2 * | face (const uint i) const |
Returns the ith face of the cell. More... | |
const CellData * | father () const |
Returns the (1st) father (might be 0) More... | |
const CellData * | father (uint i) const |
Returns the (1st) father of the i.th level i = 0 : returns itself i = 1 : returns the fathers i = 2 : returns the grandfathers. More... | |
ConnectorData | fathers () const |
Returns father_ (might be 0) More... | |
const ConnectorData | fathers (uint i) const |
Returns the fathers of the i.th level Its assumed, that all the fathers have common grandfathers. More... | |
bool | hasEdge (const Connector1 &e) const |
Returns true if edge e exists. More... | |
bool | hasFace (const Connector2 &f) const |
Returns true if face f exists. More... | |
Key | key () const |
Returns the key of the cell. More... | |
int | related (const CellData &c) const |
Calls Connector::related. More... | |
Private Attributes | |
const Connector & | cell_ |
Cell. More... | |
ConnectorData | cntrData_ |
Link to the 0.th father (cell itself) More... | |
ConnectorData | father_ |
List of fathers of the cell (might be no father) More... | |
Detailed Description
Stores additional information on a cell, namely its father.
Definition at line 80 of file continuityData.hh.
Constructor & Destructor Documentation
◆ CellData()
Constructor.
- Parameters
-
cell Cell to which this data belongs father Father of this cell (might be 0)
Definition at line 86 of file continuityData.hh.
Member Function Documentation
◆ addFather()
void concepts::CellData::addFather | ( | const CellData * | father | ) |
Adds a father, if its not 0.
◆ cell()
|
inline |
Returns cell_
.
Definition at line 92 of file continuityData.hh.
◆ edge()
const Connector1* concepts::CellData::edge | ( | const uint | i | ) | const |
Returns the ith edge of the cell.
◆ face()
const Connector2* concepts::CellData::face | ( | const uint | i | ) | const |
Returns the ith face of the cell.
◆ father() [1/2]
|
inline |
Returns the (1st) father (might be 0)
Definition at line 102 of file continuityData.hh.
◆ father() [2/2]
const CellData* concepts::CellData::father | ( | uint | i | ) | const |
Returns the (1st) father of the i.th
level i = 0 : returns itself i = 1 : returns the fathers i = 2 : returns the grandfathers.
◆ fathers() [1/2]
|
inline |
Returns father_
(might be 0)
Definition at line 109 of file continuityData.hh.
◆ fathers() [2/2]
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.
◆ hasEdge()
bool concepts::CellData::hasEdge | ( | const Connector1 & | e | ) | const |
Returns true if edge e
exists.
◆ hasFace()
bool concepts::CellData::hasFace | ( | const Connector2 & | f | ) | const |
Returns true if face f
exists.
◆ key()
|
inline |
Returns the key of the cell.
Definition at line 126 of file continuityData.hh.
◆ related()
|
inline |
Calls Connector::related.
Definition at line 123 of file continuityData.hh.
Member Data Documentation
◆ cell_
|
private |
Cell.
Definition at line 129 of file continuityData.hh.
◆ cntrData_
|
private |
Link to the 0.th father (cell itself)
Definition at line 133 of file continuityData.hh.
◆ father_
|
private |
List of fathers of the cell (might be no father)
Definition at line 131 of file continuityData.hh.
The documentation for this class was generated from the following file:
- geometry/continuityData.hh