Skip to content
Snippets Groups Projects
Commit 009f1ec8 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: only update meshSubset on topo change

parent 69efba73
Branches
Tags
No related merge requests found
......@@ -92,7 +92,7 @@ Foam::polyMesh::readUpdateState Foam::meshSubsetHelper::readUpdate()
{
polyMesh::readUpdateState meshState = baseMesh_.readUpdate();
if (meshState != polyMesh::UNCHANGED)
if (meshState == polyMesh::TOPO_CHANGE || polyMesh::TOPO_PATCH_CHANGE)
{
correct(true);
}
......
......@@ -146,7 +146,7 @@ public:
//- Update mesh subset
void correct(bool verbose = false);
//- Read mesh
//- Read mesh. Correct on topo-change
polyMesh::readUpdateState readUpdate();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment