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

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

◆ addFather()

void concepts::CellData::addFather ( const CellData father)

Adds a father, if its not 0.

◆ cell()

const Connector& concepts::CellData::cell ( ) const
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]

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.

◆ 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()

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.

Member Data Documentation

◆ cell_

const Connector& concepts::CellData::cell_
private

Cell.

Definition at line 129 of file continuityData.hh.

◆ cntrData_

ConnectorData concepts::CellData::cntrData_
private

Link to the 0.th father (cell itself)

Definition at line 133 of file continuityData.hh.

◆ father_

ConnectorData concepts::CellData::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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich