41 Info<<
"bool faMesh::updateMesh(const mapPolyMesh& mpm) : "
42 <<
"Updating mesh" <<
endl;
84 forAll(oldPatchEdgeFaces, patchI)
86 labelList& curPatchEdges = patchEdges[patchI];
88 label nCurPatchEdges = 0;
105 const label oldFaceIndex = newFaceLabelsMap[edgeFaces[edgeI][0]];
107 if (oldFaceIndex > -1)
110 if (oldFaceLookup.
found(oldFaceIndex))
113 curPatchEdges[nCurPatchEdges] = edgeI;
122 curPatchEdges.
setSize(nCurPatchEdges);
126 forAll(m.boundary_, patchI)
128 m.boundary_[patchI].resetEdges(patchEdges[patchI]);
131 m.setPrimitiveMeshData();
162 MapGeometricFields<scalar, faPatchField, faMeshMapper, areaMesh>(mapper);
163 MapGeometricFields<vector, faPatchField, faMeshMapper, areaMesh>(mapper);
164 MapGeometricFields<sphericalTensor, faPatchField, faMeshMapper, areaMesh>
166 MapGeometricFields<symmTensor, faPatchField, faMeshMapper, areaMesh>
168 MapGeometricFields<tensor, faPatchField, faMeshMapper, areaMesh>(mapper);
171 MapGeometricFields<scalar, faePatchField, faMeshMapper, edgeMesh>(mapper);
172 MapGeometricFields<vector, faePatchField, faMeshMapper, edgeMesh>(mapper);
173 MapGeometricFields<sphericalTensor, faePatchField, faMeshMapper, edgeMesh>
175 MapGeometricFields<symmTensor, faePatchField, faMeshMapper, edgeMesh>
177 MapGeometricFields<tensor, faePatchField, faMeshMapper, edgeMesh>(mapper);
187 InfoIn(
"void faMesh::mapOldAreas(const faMeshMapper& mapper)")
188 <<
"Mapping old face areas." <<
endl;
194 S0.setSize(nFaces());
203 S0[faceI] = savedS0[
faceMap[faceI]];
216 InfoIn(
"void faMesh::mapOldAreas(const faMeshMapper& mapper)")
217 <<
"Mapping old-old face areas." <<
endl;
223 S00.setSize(nFaces());
232 S00[faceI] = savedS00[
faceMap[faceI]];