From 766142b4cc90fde1f21650cf90ae819efccbe3e1 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Mon, 19 Oct 2015 16:59:19 +0100
Subject: [PATCH] polyMesh: Correct CELL_TETS mode in findCell Resolves
 bug-report http://www.openfoam.org/mantisbt/view.php?id=1792

---
 src/OpenFOAM/meshes/polyMesh/polyMesh.C | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMesh.C
index 1c9a6203f80..4b8012b71d8 100644
--- a/src/OpenFOAM/meshes/polyMesh/polyMesh.C
+++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.C
@@ -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.
-- 
GitLab