polyMesh: Corrected removal of addressing fields with collated file handler

Resolves bug report https://bugs.openfoam.org/view.php?id=4176
This commit is contained in:
Will Bainbridge
2024-11-12 15:07:18 +00:00
parent 361ebb1597
commit f2360fda09

View File

@ -476,7 +476,7 @@ bool Foam::polyMesh::writeObject
*this
);
rm(faceProcAddressingIO.objectPath(false));
fileHandler().rm(faceProcAddressingIO.filePath(word::null, false));
};
if (!Pstream::parRun())