From ba1e3d436b8a282aca594aa72ff57d0eb8ab6e35 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Fri, 9 Dec 2011 05:21:19 +0000
Subject: [PATCH] ENH: polyBoundaryMesh: use patchGroups by default

---
 .../meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H
index 211d9148e94..62d6f4a5e1e 100644
--- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H
+++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H
@@ -159,7 +159,7 @@ public:
         labelList findIndices
         (
             const keyType&,
-            const bool usePatchGroups = false
+            const bool usePatchGroups = true
         ) const;
 
         //- Return patch index for the first match, return -1 if not found
@@ -184,7 +184,7 @@ public:
         (
             const UList<wordRe>& patchNames,
             const bool warnNotFound = true,
-            const bool usePatchGroups = false
+            const bool usePatchGroups = true
         ) const;
 
         //- Check whether all procs have all patches and in same order. Return
-- 
GitLab