diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index 85b4f9d5d7..cc866d13ca 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -1004,120 +1004,124 @@ Foam::vectorField Foam::autoSnapDriver::calcNearestSurface const refinementSurfaces& surfaces = meshRefiner_.surfaces(); const fvMesh& mesh = meshRefiner_.mesh(); - // Divide surfaces into zoned and unzoned - labelList zonedSurfaces; - labelList unzonedSurfaces; - getZonedSurfaces(zonedSurfaces, unzonedSurfaces); - // Displacement per patch point vectorField patchDisp(localPoints.size(), vector::zero); - // 1. All points to non-interface surfaces - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - + if (returnReduce(localPoints.size(), sumOp