34 void sammMesh::createPolyBoundary()
36 label nBoundaryFacesFound = 0;
38 polyBoundaryPatchStartIndices_.setSize(boundary_.size());
40 label nCreatedFaces = nInternalFaces_;
46 const faceList& curShapePatch = boundary_[patchI];
48 polyBoundaryPatchStartIndices_[patchI] = nCreatedFaces;
50 forAll (curShapePatch, faceI)
54 const face& curFace = curShapePatch[faceI];
56 meshFaces_[nCreatedFaces] = curFace;
65 PointCells[facePoints[pointI]];
67 forAll(facePointCells, cellI)
70 cellFaces_[facePointCells[cellI]];
72 forAll(curCellFaces, cellFaceI)
74 if (curCellFaces[cellFaceI] == curFace)
82 cellPolys_[facePointCells[cellI]][cellFaceI]
88 "void sammMesh::createPolyBoundary()"
89 ) <<
"This looks like an already detected "
94 cellPolys_[facePointCells[cellI]][cellFaceI] =
97 nBoundaryFacesFound++;
111 meshFaces_.setSize(nCreatedFaces);
113 Info <<
"Number of boundary faces: " << nBoundaryFacesFound <<
endl;
114 Info <<
"Total number of faces: " << nCreatedFaces <<
endl;
122 forAll (boundary_, patchI)
124 const faceList& curShapePatch = boundary_[patchI];
130 curShapePatch.
size(),
131 polyBoundaryPatchStartIndices_[patchI],
136 p[patchI]->physicalType() = patchPhysicalTypes_[patchI];