9 Info<<
"Entering: USERD_get_nfaced_conn" 10 <<
", part_number = " << part_number
21 label nCells = cellShapes.size();
25 label nFacesInCell = cells[
n].size();
27 if ((nFacesInCell == 6) && (points.size() == 8))
29 else if ((nFacesInCell == 4) && (points.size() == 4))
31 else if (nFacesInCell == 5)
33 if (points.size() == 6)
35 else if (points.size() == 5)
39 for (
label i=0; i<nFacesInCell; i++)
45 nfaced_conn_array[nPoint++] = faces[facei][j] + 1;
52 for (
label i=0; i<nFacesInCell; i++)
58 nfaced_conn_array[nPoint++] = faces[facei][j] + 1;
75 Info<<
"Exiting: USERD_get_nfaced_conn" <<
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.
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.
int USERD_get_nfaced_conn(int part_number, int *nfaced_conn_array)
List< cell > cellList
list of cells