Go to the documentation of this file.
35 static const label UNIT_POINT_CELLS = 12;
40 <<
"PointCells already calculated"
51 pc[i].setSize(UNIT_POINT_CELLS);
84 label curPoint = labels[j];
86 label curCount = cellCount[curPoint];
93 if (curPointCells[
f] == cellI)
105 if (curPointCells.size() <= curCount)
107 curPointCells.setSize(curPointCells.size()*2);
111 curPointCells[curCount] = cellI;
114 cellCount[curPoint]++;
123 pc[i].setSize(cellCount[i]);
135 return *pointCellsPtr_;
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
cellShapeList cellShapes_
Cell shapes.
faceListList cellFaces_
List of faces for every cell.
labelListList * pointCellsPtr_
Point-cell addressing. Used for topological analysis.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void calcPointCells() const
Calculate pointCells.
pointField points_
Points supporting the mesh.
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const labelListList & pointCells() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...