polyDistributionMap: renamed from polyMeshDistributionMap for consistency with polyTopoChangeMap

This commit is contained in:
Henry Weller
2022-03-31 23:44:47 +01:00
parent 3ace8f434b
commit 6047f27aac
210 changed files with 328 additions and 6070 deletions

View File

@ -513,18 +513,18 @@ void subsetMesh
const Time& runTime = mesh.time();
autoPtr<polyTopoChangeMap> morphMap = meshMod.changeMesh(mesh, false);
autoPtr<polyTopoChangeMap> map = meshMod.changeMesh(mesh, false);
if (morphMap().hasMotionPoints())
if (map().hasMotionPoints())
{
mesh.movePoints(morphMap().preMotionPoints());
mesh.movePoints(map().preMotionPoints());
}
// Update topology on cellRemover
cellRemover.updateMesh(morphMap());
cellRemover.updateMesh(map());
// Update refLevel for removed cells.
const labelList& cellMap = morphMap().cellMap();
const labelList& cellMap = map().cellMap();
labelList newRefLevel(cellMap.size());
@ -547,7 +547,7 @@ void subsetMesh
}
// Update cutCells for removed cells.
cutCells.updateMesh(morphMap());
cutCells.updateMesh(map());
}