2 int USERD_get_nsided_conn
9 Info << "Entering: USERD_get_nsided_conn"
10 << ", part_number = " << part_number
18 Info << "************* EEEEEEEEERRRRRRRRRRRRRRRRRR *************** " << endl << flush;
21 else if (part_number < nPatches+2)
23 //const cellList& cells = meshPtr->cells();
24 //const faceList& faces = meshPtr->faces();
26 label patchi = part_number - 2;
27 const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh();
30 forAll(bMesh[patchi], facei)
32 label nPoints = bMesh[patchi][facei].size();
33 if ((nPoints != 3) && (nPoints != 4))
35 for(label i=0; i<nPoints; i++)
37 nsided_conn_array[np++] = bMesh[patchi][facei][i] + 1;
42 else if (sprayPtr && part_number == nPatches+2)
49 && part_number == secondMeshPartNum
52 Info << "************* EEEEEEEEERRRRRRRRRRRRRRRRRR *************** "
58 && part_number <= secondMeshPartNum + nSecondMeshPatches
61 label patchi = part_number - secondMeshPartNum - 1;
63 const polyBoundaryMesh& bMesh = secondMeshPtr->boundaryMesh();
66 forAll(bMesh[patchi], facei)
68 label nPoints = bMesh[patchi][facei].size();
69 if ((nPoints != 3) && (nPoints != 4))
71 for(label i=0; i<nPoints; i++)
73 nsided_conn_array[np++] = bMesh[patchi][facei][i] + 1;
81 && part_number == Numparts_available
84 const faceList& faces = faMeshPtr->faces();
90 label nPoints = faces[facei].size();
92 if ((nPoints != 3) && (nPoints != 4))
94 for(label i=0; i<nPoints; i++)
96 nsided_conn_array[np++] = faces[facei][i] + 1;
103 Info << "Exiting: USERD_get_nsided_conn" << endl