24#ifndef TTK_ENABLE_KAMIKAZE
35 const unsigned char dimension)
64#ifndef TTK_ENABLE_KAMIKAZE
66 std::cerr <<
"TTK: access to cell " << cellId <<
" on "
81#ifndef TTK_ENABLE_KAMIKAZE
82 if(localVertId >= locNbVert) {
83 std::cerr <<
"TTK: access to local vert " << localVertId <<
" on "
84 << locNbVert << std::endl;
88 return this->
cellArray_[(locNbVert + 1) * cellId + 1 + localVertId];
92 std::vector<LongSimplexId> &offset,
CellArray generic array of cells
LongSimplexId getCellVertex(const LongSimplexId cellId, const SimplexId localVertId) const
const LongSimplexId * cellArray_
const unsigned char dimension_
LongSimplexId getNbCells() const
Get the number of cells in the array.
CellArray(const LongSimplexId *cellArray, const LongSimplexId nbCells, const unsigned char dimension)
const LongSimplexId nbCells_
SimplexId getCellVertexNumber(const LongSimplexId cellId) const
static void TranslateToFlatLayout(std::vector< LongSimplexId > &connectivity, std::vector< LongSimplexId > &offset, LongSimplexId *&singleArray)
unsigned char getDimension() const
Retrieve the dimension.
void setOwnership(const bool o)
Deal with data ownership.
long long int LongSimplexId
Identifier type for simplices of any dimension.
int SimplexId
Identifier type for simplices of any dimension.