From 1cf9d85b873e597d469947c99d7d7810e17f7969 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 5 Mar 2013 15:56:36 +0000 Subject: [PATCH] STYLE: polyMeshCheck: extraneous code --- .../polyMesh/polyMeshCheck/polyMeshCheck.C | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C index e6cc20fee1..f7daba0495 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C @@ -434,22 +434,6 @@ bool Foam::polyMesh::checkCellDeterminant << "checking for under-determined cells" << endl; } - // Determine number of dimensions and (for 2D) missing dimension - label nDims = 0; - label twoD = -1; - for (direction dir = 0; dir < vector::nComponents; dir++) - { - if (meshD[dir] == 1) - { - nDims++; - } - else - { - twoD = dir; - } - } - - tmp tcellDeterminant = primitiveMeshTools::cellDeterminant ( *this,