67 const label nTotalEdges = bp.
nEdges();
82 forAll(oldPatchEdgeFaces, patchI)
84 labelList& curPatchEdges = patchEdges[patchI];
86 label nCurPatchEdges = 0;
103 const label oldFaceIndex = newFaceLabelsMap[edgeFaces[edgeI][0]];
105 if (oldFaceIndex > -1)
108 if (oldFaceLookup.found(oldFaceIndex))
111 curPatchEdges[nCurPatchEdges] = edgeI;
120 curPatchEdges.
setSize(nCurPatchEdges);
124 forAll(m.boundary_, patchI)
126 m.boundary_[patchI].resetEdges(patchEdges[patchI]);
129 m.setPrimitiveMeshData();
160 MapGeometricFields<scalar, faPatchField, faMeshMapper, areaMesh>(mapper);
161 MapGeometricFields<vector, faPatchField, faMeshMapper, areaMesh>(mapper);
162 MapGeometricFields<sphericalTensor, faPatchField, faMeshMapper, areaMesh>
164 MapGeometricFields<symmTensor, faPatchField, faMeshMapper, areaMesh>
166 MapGeometricFields<tensor, faPatchField, faMeshMapper, areaMesh>(mapper);
169 MapGeometricFields<scalar, faePatchField, faMeshMapper, edgeMesh>(mapper);
170 MapGeometricFields<vector, faePatchField, faMeshMapper, edgeMesh>(mapper);
171 MapGeometricFields<sphericalTensor, faePatchField, faMeshMapper, edgeMesh>
173 MapGeometricFields<symmTensor, faePatchField, faMeshMapper, edgeMesh>
175 MapGeometricFields<tensor, faePatchField, faMeshMapper, edgeMesh>(mapper);
188 S0.setSize(nFaces());
197 S0[faceI] = savedS0[
faceMap[faceI]];
213 S00.setSize(nFaces());
222 S00[faceI] = savedS00[
faceMap[faceI]];