polyMesh::swap: Corrected copy of patch identifier

This commit is contained in:
Will Bainbridge
2023-03-22 14:44:15 +00:00
parent 683aca12f6
commit 7cdb206f9a

View File

@ -845,7 +845,7 @@ void Foam::polyMesh::swap(polyMesh& otherMesh)
{
boundaryMesh[otherPatchi] = polyPatch
(
otherPatches[otherPatchi],
boundaryMesh[otherPatchi],
boundaryMesh,
otherPatchi,
otherPatches[otherPatchi].size(),