From 43c2ab5d51935dc654980918024c181f8690337d Mon Sep 17 00:00:00 2001 From: graham Date: Fri, 24 Sep 2010 13:26:17 +0100 Subject: [PATCH] ENH: Commenting out unused face-centre tet decomp variables. --- .../polyMeshTetDecomposition.C | 10 +++++----- .../motionSmoother/polyMeshGeometry/polyMeshGeometry.C | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C b/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C index 4e5934c58d..64939d805f 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C @@ -378,11 +378,11 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets ) { const labelList& own = mesh.faceOwner(); - const labelList& nei = mesh.faceNeighbour(); + // const labelList& nei = mesh.faceNeighbour(); const polyBoundaryMesh& patches = mesh.boundaryMesh(); const vectorField& cc = mesh.cellCentres(); - const vectorField& fc = mesh.faceCentres(); + // const vectorField& fc = mesh.faceCentres(); // Calculate coupled cell centre pointField neiCc(mesh.nFaces() - mesh.nInternalFaces()); @@ -396,13 +396,13 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets const faceList& fcs = mesh.faces(); - const pointField& p = mesh.points(); + // const pointField& p = mesh.points(); label nErrorTets = 0; forAll(fcs, faceI) { - const face& f = fcs[faceI]; + // const face& f = fcs[faceI]; // forAll(f, fPtI) // { @@ -429,7 +429,7 @@ bool Foam::polyMeshTetDecomposition::checkFaceTets if (mesh.isInternalFace(faceI)) { // Create the neighbour tet - it will have positive volume - const face& f = fcs[faceI]; + // const face& f = fcs[faceI]; // forAll(f, fPtI) // { diff --git a/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C b/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C index 05eb87c099..2308a91ccf 100644 --- a/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C +++ b/src/dynamicMesh/motionSmoother/polyMeshGeometry/polyMeshGeometry.C @@ -787,7 +787,7 @@ bool Foam::polyMeshGeometry::checkFaceTets // check whether decomposing each cell into tets results in // positive volume, non-flat tets const labelList& own = mesh.faceOwner(); - const labelList& nei = mesh.faceNeighbour(); + // const labelList& nei = mesh.faceNeighbour(); const polyBoundaryMesh& patches = mesh.boundaryMesh(); // Calculate coupled cell centre