![]() |
#include <Cell.h>
Collaboration diagram for dolfin::Cell:

Public Types | |
| enum | Type { triangle, tetrahedron, none } |
Public Member Functions | |
| Cell () | |
| Create an empty cell. | |
| Cell (Node &n0, Node &n1, Node &n2) | |
| Create cell (triangle) from three given nodes. | |
| Cell (Node &n0, Node &n1, Node &n2, Node &n3) | |
| Create cell (tetrahedron) from four given nodes. | |
| ~Cell () | |
| Destructor. | |
| void | clear () |
| Clear cell data. | |
| int | id () const |
| --- Cell data --- Return id of cell | |
| Type | type () const |
| Return cell type. | |
| int | noNodes () const |
| Return number of nodes. | |
| int | noEdges () const |
| Return number of edges. | |
| int | noFaces () const |
| Return number of faces. | |
| int | noBoundaries () const |
| Return number of boundaries. | |
| int | noCellNeighbors () const |
| Return number of cell neighbors. | |
| int | noNodeNeighbors () const |
| Return number of node neighbors. | |
| int | noChildren () const |
| Return number of cell children. | |
| Node & | node (int i) const |
| Return node number i. | |
| Edge & | edge (int i) const |
| Return edge number i. | |
| Face & | face (int i) const |
| Return face number i. | |
| Cell & | neighbor (int i) const |
| Return cell neighbor number i. | |
| Cell * | parent () const |
| Return parent cell (null if no parent). | |
| Cell * | child (int i) const |
| Return child cell (null if no child). | |
| Point & | coord (int i) const |
| Return coordinate for node i. | |
| Point | midpoint () const |
| Return midpoint of cell. | |
| int | nodeID (int i) const |
| real | volume () const |
| real | diameter () const |
| bool | operator== (const Cell &cell) const |
| Comparison with another cell. | |
| bool | operator!= (const Cell &cell) const |
| Comparison with another cell. | |
| void | mark () |
| --- Mesh refinement --- Mark cell for refinement | |
Friends | |
| class | Mesh |
| class | MeshData |
| class | MeshInit |
| class | MeshRefinement |
| class | MeshRefinementData |
| class | TriMeshRefinement |
| class | TetMeshRefinement |
| class | GenericCell |
| class | CellRefData |
| class | NodeIterator::CellNodeIterator |
| class | CellIterator::CellCellIterator |
| class | EdgeIterator::CellEdgeIterator |
| class | FaceIterator::CellFaceIterator |
| LogStream & | operator<< (LogStream &stream, const Cell &cell) |
| --- Output --- Display condensed cell data | |
|
|
|
|
|
Create an empty cell.
|
|
||||||||||||||||
|
Create cell (triangle) from three given nodes.
|
|
||||||||||||||||||||
|
Create cell (tetrahedron) from four given nodes.
|
|
|
Destructor.
|
|
|
Return child cell (null if no child).
|
|
|
Clear cell data.
|
|
|
Return coordinate for node i.
|
|
|
|
|
|
Return edge number i.
|
|
|
Return face number i.
|
|
|
--- Cell data --- Return id of cell
|
|
|
--- Mesh refinement --- Mark cell for refinement
|
|
|
Return midpoint of cell.
|
|
|
Return cell neighbor number i.
|
|
|
Return number of boundaries.
|
|
|
Return number of cell neighbors.
|
|
|
Return number of cell children.
|
|
|
Return node number i.
|
|
|
|
|
|
Return number of edges.
|
|
|
Return number of faces.
|
|
|
Return number of node neighbors.
|
|
|
Return number of nodes.
|
|
|
Comparison with another cell.
|
|
|
Comparison with another cell.
|
|
|
Return parent cell (null if no parent).
|
|
|
Return cell type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
--- Output --- Display condensed cell data
|
|
|
|
|
|
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.