From 106d1447faaaa8d35ebfa2650251130711cb7aa5 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 9 Jul 2008 10:08:50 +0100 Subject: [PATCH] no meshed surfaces --- .../autoHexMeshDriver/autoSnapDriver.C | 202 +++++++++--------- 1 file changed, 103 insertions(+), 99 deletions(-) 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