67 const label nTotalEdges = bp.
nEdges();
81 forAll(oldPatchEdgeFaces, patchI)
83 labelList& curPatchEdges = patchEdges[patchI];
85 label nCurPatchEdges = 0;
102 const label oldFaceIndex = newFaceLabelsMap[edgeFaces[edgeI][0]];
104 if (oldFaceIndex > -1)
107 if (oldFaceLookup.
found(oldFaceIndex))
110 curPatchEdges[nCurPatchEdges] = edgeI;
119 curPatchEdges.
setSize(nCurPatchEdges);
123 forAll(m.boundary_, patchI)
125 m.boundary_[patchI].resetEdges(patchEdges[patchI]);
128 m.setPrimitiveMeshData();
159 MapGeometricFields<scalar, faPatchField, faMeshMapper, areaMesh>(mapper);
160 MapGeometricFields<vector, faPatchField, faMeshMapper, areaMesh>(mapper);
161 MapGeometricFields<sphericalTensor, faPatchField, faMeshMapper, areaMesh>
163 MapGeometricFields<symmTensor, faPatchField, faMeshMapper, areaMesh>
165 MapGeometricFields<tensor, faPatchField, faMeshMapper, areaMesh>(mapper);
168 MapGeometricFields<scalar, faePatchField, faMeshMapper, edgeMesh>(mapper);
169 MapGeometricFields<vector, faePatchField, faMeshMapper, edgeMesh>(mapper);
170 MapGeometricFields<sphericalTensor, faePatchField, faMeshMapper, edgeMesh>
172 MapGeometricFields<symmTensor, faePatchField, faMeshMapper, edgeMesh>
174 MapGeometricFields<tensor, faePatchField, faMeshMapper, edgeMesh>(mapper);
187 S0.setSize(nFaces());
196 S0[faceI] = savedS0[
faceMap[faceI]];
212 S00.setSize(nFaces());
221 S00[faceI] = savedS00[
faceMap[faceI]];