STYLE: polyMeshCheck: extraneous code

This commit is contained in:
mattijs
2013-03-05 15:56:36 +00:00
parent f2988d4c2f
commit 1cf9d85b87

View File

@ -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<scalarField> tcellDeterminant = primitiveMeshTools::cellDeterminant
(
*this,