9 Info<<
"Entering: USERD_get_nfaced_nodes_per_face" 10 <<
", part_number = " << part_number
21 label nCells = cellShapes.size();
25 label nFacesInCell = cells[
n].size();
29 if ((nFacesInCell == 6) && (nPoints == 8))
31 else if ((nFacesInCell == 4) && (nPoints == 4))
33 else if (nFacesInCell == 5)
37 else if (nPoints == 5)
41 for (
label i=0; i<nFacesInCell; i++)
44 label nFacePoints = faces[facei].size();
45 nfaced_npf_array[nFaced++] = nFacePoints;
51 for (
label i=0; i<nFacesInCell; i++)
54 label nFacePoints = faces[facei].size();
55 nfaced_npf_array[nFaced++] = nFacePoints;
70 Info<<
"Exiting: USERD_get_nfaced_nodes_per_face" <<
endl
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
int USERD_get_nfaced_nodes_per_face(int part_number, int *nfaced_npf_array)
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
const cellShapeList & cellShapes
List< label > labelList
A List of labels.
Ostream & flush(Ostream &os)
Flush stream.
List< cell > cellList
list of cells