Commit 48381ebc authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: only update meshSubset on topo change

parent b884adc4
......@@ -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();
......
Markdown is supported
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