|
HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
|
#include <DirectedGraph.hpp>
Public Member Functions | |
| DirectedCell () | |
| Null Constructor. | |
| DirectedCell (std::size_t) | |
| Constructor. | |
| ~DirectedCell () | |
| Destructor. | |
| DirectedCell (std::vector< DirectedFace > &, std::size_t) | |
| Class Constructor: Initialises the cell with a vector of faces and the cell ID. | |
| void | add_face (DirectedFace &) |
| Method to append an face to the end of the cell. | |
| void | remove_face (std::size_t) |
| Remove face at a given position. | |
| void | append_cell (DirectedCell &) |
| bool | check_cell () |
| bool | has_face (DirectedFace) |
| Tests if cell has an face. | |
| void | print () |
| Prints all the faces of the cell. | |
Public Attributes | |
| std::vector< DirectedFace > | T |
| The faces the cell consists of. | |
| std::vector< std::size_t > | part |
| The cell ID's of the cell's that have formed this cell. | |
The DirectedCell class is the defining element of a DirectedGraph. It is defined by a vector of DirectedFace's, and a vector of unsigned int's describing the fine cells that make up the cell upon coarsening. The class contains functions related to cell manipulation.