TTK
|
CellArray generic array of cells More...
#include <CellArray_legacy.h>
Public Member Functions | |
CellArray (const LongSimplexId *cellArray, const LongSimplexId nbCells, const unsigned char dimension) | |
virtual | ~CellArray () |
void | setOwnership (const bool o) |
Deal with data ownership. | |
unsigned char | getDimension () const |
Retrieve the dimension. | |
LongSimplexId | getNbCells () const |
Get the number of cells in the array. | |
SimplexId | getCellVertexNumber (const LongSimplexId cellId) const |
LongSimplexId | getCellVertex (const LongSimplexId cellId, const SimplexId localVertId) const |
CellArray (const LongSimplexId *connectivity, const LongSimplexId *offset, const LongSimplexId nbCells) | |
virtual | ~CellArray () |
void | setOwnership (const bool o) |
Deal with data ownership. | |
LongSimplexId | getNbCells () const |
Get the number of cells in the array. | |
SimplexId | getCellVertexNumber (const LongSimplexId cellId) const |
LongSimplexId | getCellVertex (const LongSimplexId cellId, const SimplexId localVertId) const |
Static Public Member Functions | |
static void | TranslateToFlatLayout (std::vector< LongSimplexId > &connectivity, std::vector< LongSimplexId > &offset, LongSimplexId *&singleArray) |
Protected Attributes | |
const LongSimplexId * | cellArray_ |
const LongSimplexId | nbCells_ |
const unsigned char | dimension_ |
bool | ownerShip_ = false |
const LongSimplexId * | connectivity_ |
const LongSimplexId * | offset_ |
CellArray generic array of cells
CellArray is a generic container that allows to deal with various cell layouts in memory
CellArray is a generic container that allows to deal with various cell layouts in memory
Definition at line 31 of file CellArray_legacy.h.
|
inline |
Definition at line 33 of file CellArray_legacy.h.
|
inlinevirtual |
Definition at line 39 of file CellArray_legacy.h.
|
inline |
Definition at line 36 of file CellArray_new.h.
|
inlinevirtual |
Definition at line 42 of file CellArray_new.h.
|
inline |
Get the vertex id of the "localVertId"'nt vertex of the cell.
cellId | global id of the cell |
localVertId | id of the vertex local to the cell, usually lower than 4 in 3D and lower than 3 in 2D. |
Definition at line 78 of file CellArray_legacy.h.
|
inline |
Get the vertex id of the "localVertId"'nt vertex of the cell. Can deal with heterogeneous meshes
cellId | global id of the cell |
localVertId | id of the vertex local to the cell |
Definition at line 78 of file CellArray_new.h.
|
inline |
Get the number of vertices in the cell with the id: cellid
cellId | global id of the cell |
Definition at line 63 of file CellArray_legacy.h.
|
inline |
Get the number of vertices in the cell with the id: cellid Can deal with heterogeneous meshes
cellId | global id of the cell |
Definition at line 63 of file CellArray_new.h.
|
inline |
Retrieve the dimension.
Definition at line 51 of file CellArray_legacy.h.
|
inline |
Get the number of cells in the array.
Definition at line 56 of file CellArray_legacy.h.
|
inline |
Get the number of cells in the array.
Definition at line 55 of file CellArray_new.h.
|
inline |
Deal with data ownership.
Definition at line 46 of file CellArray_legacy.h.
|
inline |
Deal with data ownership.
Definition at line 50 of file CellArray_new.h.
|
static |
|
protected |
Definition at line 96 of file CellArray_legacy.h.
|
protected |
Definition at line 91 of file CellArray_new.h.
|
protected |
Definition at line 98 of file CellArray_legacy.h.
|
protected |
Definition at line 97 of file CellArray_legacy.h.
|
protected |
Definition at line 92 of file CellArray_new.h.
|
protected |
Definition at line 99 of file CellArray_legacy.h.