fvMesh: Return topo change on update if re-stitched

This commit is contained in:
Will Bainbridge
2022-07-26 10:16:41 +01:00
parent 0e20dd4be1
commit 83cb9e2bd6
2 changed files with 13 additions and 5 deletions

View File

@ -455,11 +455,7 @@ int main(int argc, char *argv[])
}
// Clear the field maps if there has been topology change
if
(
state == fvMesh::TOPO_CHANGE
|| state == fvMesh::TOPO_PATCH_CHANGE
)
if (state >= fvMesh::TOPO_CHANGE)
{
for (label proci = 0; proci < meshes.nProcs(); proci++)
{