mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: polyMeshCheck: extraneous code
This commit is contained in:
@ -434,22 +434,6 @@ bool Foam::polyMesh::checkCellDeterminant
|
|||||||
<< "checking for under-determined cells" << endl;
|
<< "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
|
tmp<scalarField> tcellDeterminant = primitiveMeshTools::cellDeterminant
|
||||||
(
|
(
|
||||||
*this,
|
*this,
|
||||||
|
|||||||
Reference in New Issue
Block a user