Commit 766142b4 authored by Henry Weller's avatar Henry Weller
Browse files

polyMesh: Correct CELL_TETS mode in findCell

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1792
parent f4202d9e
......@@ -1483,11 +1483,7 @@ Foam::label Foam::polyMesh::findCell
return -1;
}
if
(
Pstream::parRun()
&& (decompMode == FACE_DIAG_TRIS || decompMode == CELL_TETS)
)
if (Pstream::parRun() && decompMode == FACE_DIAG_TRIS)
{
// Force construction of face-diagonal decomposition before testing
// for zero cells.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment