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