fvMesh: Added independent readUpdateState enumeration

This lets calling code determine the difference between a polyMesh
topology change and a re-stitch. This prevents unnecessary
post-processing output in a few cases when using NCC; most notably the
generation of cellProc fields by reconstructPar.
This commit is contained in:
Will Bainbridge
2023-11-08 14:26:21 +00:00
parent b6d1d308d6
commit 03ec16135a
14 changed files with 63 additions and 38 deletions

View File

@ -75,7 +75,7 @@ int main(int argc, char *argv[])
Info<< "Time = " << runTime.userTimeName() << nl << endl;
// Update the mesh if changed
if (mesh.readUpdate() == polyMesh::TOPO_PATCH_CHANGE)
if (mesh.readUpdate() == fvMesh::TOPO_PATCH_CHANGE)
{
Info<< "Detected changed patches. Recreating patch group table."
<< endl;