#include <continuityData.hh>
Public Types | |
typedef std::map< uint, constCellData * >::iterator | iterator |
The STL iterator over the list of cells. | |
typedef std::map< uint, constCellData * >::const_iterator | const_iterator |
The constant STL iterator over the list of cells. | |
Public Member Functions | |
EdgeData (const Connector1 &edge) | |
const Connector1 & | edge () const |
Returns edge_ . | |
int | related (const EdgeData &e) const |
Calls Connector::related. | |
void | addFace (const FaceData &f) |
Adds f to faces_ whithout check. | |
bool | checkRelations () |
Key | key () const |
Returns the key of the edge. | |
void | addCell (const CellData &c) |
bool | hasCell (const Connector &c) const |
Returns true if c is in the list of cells. | |
void | replaceCell (const CellData &remove, const CellData &add) |
iterator | begin () |
Returns the STL beginning of the list of cells. | |
const_iterator | begin () const |
Returns the STL beginning of the list of cells. | |
iterator | end () |
Returns the STL end of the list of cells. | |
const_iterator | end () const |
Returns the STL end of the list of cells. | |
Static Public Member Functions | |
static bool | doCheckRelations (std::map< uint, EdgeData > &edgeList) |
static void | checkRelatedEdges (std::map< uint, EdgeData > &edgeList) |
Protected Attributes | |
std::map< uint, const CellData * > | cells_ |
List of cells. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EdgeData &e) |
Stores additional information on an edge, namely its cells and faces.
Definition at line 173 of file continuityData.hh.
|
inherited |
The constant STL iterator over the list of cells.
Definition at line 44 of file continuityData.hh.
|
inherited |
The STL iterator over the list of cells.
Definition at line 42 of file continuityData.hh.
|
inline |
Constructor.
edge | Edge to which this data belongs |
Definition at line 179 of file continuityData.hh.
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_ |
|
inlineinherited |
Returns the STL beginning of the list of cells.
Definition at line 63 of file continuityData.hh.
|
inlineinherited |
Returns the STL beginning of the list of cells.
Definition at line 65 of file continuityData.hh.
Checks if there are edges with relations in edgeList
. If this is the case, the smaller edge is removed and the cell which is the ancestor (on the same level as the larger edge) of the cell of this smaller edge is added to the list of cells of the larger edge.
bool concepts::EdgeData::checkRelations | ( | ) |
Checks the relations in faces_
. This member function is used to determine the support of the basis functions associated to this edge. The support of the basis functions on this edge consists of the cells in cells_
. The support is enlarged step by step until it is possible to define continuous global basis functions on this support. The faces in faces_
are those faces of the cells in cells_
which have this edge as one of their edges.
To determine if the basis functions have a continous support, the relationship of the faces in faces_
are checked. If two faces are related, it is not possible to define a continuous basis function.
Related faces are treated as follows: the cell in \c cells_
which is common to this edge and the smaller face is removed from cells_
and replaced by the ancestor of the removed cell such that the larger face and the face of the new cell are identical.
faces_
belong to the cells in cells_
. To assert this invariant, recreateFaceList_
is called if something has changed. Calls checkRelations
for each edge in the edgeList
.
If the relations cannot be cleared, the edge is removed from the list in favor of its parent.
|
inline |
Returns edge_
.
Definition at line 181 of file continuityData.hh.
|
inlineinherited |
Returns the STL end of the list of cells.
Definition at line 67 of file continuityData.hh.
|
inlineinherited |
Returns the STL end of the list of cells.
Definition at line 69 of file continuityData.hh.
|
inline |
Returns the key of the edge.
Definition at line 219 of file continuityData.hh.
Calls Connector::related.
Definition at line 183 of file continuityData.hh.
List of cells.
Definition at line 72 of file continuityData.hh.