![]() |
Reference documentation for deal.II version 8.1.0
|
#include <cell_id.h>
Public Member Functions | |
CellId (unsigned int coarse_cell_id_, std::vector< unsigned char > id_) | |
CellId () | |
bool | operator== (const CellId &other) const |
bool | operator!= (const CellId &other) const |
Private Attributes | |
unsigned int | coarse_cell_id |
std::vector< unsigned char > | id |
Friends | |
std::istream & | operator>> (std::istream &is, CellId &cid) |
std::ostream & | operator<< (std::ostream &os, const CellId &cid) |
A class to represent a unique ID for a cell in a Triangulation. This class stores the index of the coarse cell together with the information on how to reach the cell from that coarse cell (which child index to take on each level). The internal representation is not exposed on purpose.
TODO: does it make sense to implement a more efficient representation (internally and/or as a string)? If yes, something like a 64bit int as in p4est would be a good option.
|
inlineexplicit |
|
friend |
|
friend |