polyMesh: Use appropriate boundary meshes when swapping patches
This commit is contained in:
@ -859,12 +859,12 @@ void Foam::polyMesh::swap(polyMesh& otherMesh)
|
|||||||
const polyPatchList patches
|
const polyPatchList patches
|
||||||
(
|
(
|
||||||
boundary_,
|
boundary_,
|
||||||
boundary_
|
otherMesh.boundary_
|
||||||
);
|
);
|
||||||
const polyPatchList otherPatches
|
const polyPatchList otherPatches
|
||||||
(
|
(
|
||||||
otherMesh.boundary_,
|
otherMesh.boundary_,
|
||||||
otherMesh.boundary_
|
boundary_
|
||||||
);
|
);
|
||||||
|
|
||||||
updatePatches(otherPatches, boundary_);
|
updatePatches(otherPatches, boundary_);
|
||||||
|
|||||||
Reference in New Issue
Block a user