Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::CellData Class Reference

#include <continuityData.hh>

Public Member Functions

 CellData (const Connector &cell, const CellData *father)
 
const Connectorcell () const
 Returns cell_.
 
const Connector1edge (const uint i) const
 Returns the ith edge of the cell.
 
const Connector2face (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 CellDatafather () const
 Returns the (1st) father (might be 0)
 
ConnectorData fathers () const
 Returns father_ (might be 0)
 
const CellDatafather (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.
 

Detailed Description

Stores additional information on a cell, namely its father.

Author
Philipp Frauenfelder, 2002

Definition at line 80 of file continuityData.hh.

Constructor & Destructor Documentation

◆ CellData()

concepts::CellData::CellData ( const Connector cell,
const CellData father 
)
inline

Constructor.

Parameters
cellCell to which this data belongs
fatherFather of this cell (might be 0)

Definition at line 86 of file continuityData.hh.

Member Function Documentation

◆ cell()

const Connector & concepts::CellData::cell ( ) const
inline

Returns cell_.

Definition at line 92 of file continuityData.hh.

◆ father() [1/2]

const CellData * concepts::CellData::father ( ) const
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]

ConnectorData concepts::CellData::fathers ( ) const
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.

◆ key()

Key concepts::CellData::key ( ) const
inline

Returns the key of the cell.

Definition at line 126 of file continuityData.hh.

◆ related()

int concepts::CellData::related ( const CellData c) const
inline

Calls Connector::related.

Definition at line 123 of file continuityData.hh.


The documentation for this class was generated from the following file: