Skip to content
Snippets Groups Projects
Commit 1cf9d85b authored by mattijs's avatar mattijs
Browse files

STYLE: polyMeshCheck: extraneous code

parent f2988d4c
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment