33 void starMesh::calcPointCells()
const
35 const static label UNIT_POINT_CELLS = 12;
40 <<
"pointCells already calculated"
51 pc[i].setSize(UNIT_POINT_CELLS);
74 const faceList& faces = cellFaces_[cellI];
84 label curPoint = labels[j];
86 label curCount = cellCount[curPoint];
91 for (label
f = 0;
f < curCount;
f++)
93 if (curPointCells[
f] == cellI)
105 if (curPointCells.
size() <= curCount)
111 curPointCells[curCount] = cellI;
114 cellCount[curPoint]++;
123 pc[i].setSize(cellCount[i]);
135 return *pointCellsPtr_;