polyBoundaryMesh: Clear patch-face IDs along with patch IDs

This commit is contained in:
Will Bainbridge
2022-05-18 11:47:06 +01:00
parent b4b8b212bf
commit 90dffb91af

View File

@ -209,6 +209,7 @@ void Foam::polyBoundaryMesh::clearAddressing()
{
nbrEdgesPtr_.clear();
patchIDPtr_.clear();
patchFaceIDPtr_.clear();
groupPatchIDsPtr_.clear();
forAll(*this, patchi)
@ -1089,6 +1090,7 @@ void Foam::polyBoundaryMesh::topoChange()
{
nbrEdgesPtr_.clear();
patchIDPtr_.clear();
patchFaceIDPtr_.clear();
groupPatchIDsPtr_.clear();
PstreamBuffers pBufs(Pstream::defaultCommsType);