From f2de61f82c975a877df65ddafefc63577092d558 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Thu, 15 Nov 2018 11:45:18 +0100
Subject: [PATCH] STYLE: add geometric constraint to decomposeParDict example
 (issue #921)

---
 .../decomposePar/decomposeParDict             | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
index fc0edd941cb..73c2d962740 100644
--- a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
+++ b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict
@@ -231,6 +231,34 @@ constraints
         type    refinementHistory;
         enabled false;
     }
+    geometric
+    {
+        type    geometric;
+
+        grow    false;
+
+        selection
+        {
+            box1
+            {
+                source  box;
+                min     (-0.1 -0.01 -0.1);
+                max     (0.1 0.30 0.1);
+            }
+            ball
+            {
+                source  sphere;
+                origin  (-0.1 -0.01 -0.1);
+                radius  0.25;
+            }
+            blob
+            {
+                source      surface;
+                surfaceType triSurfaceMesh;
+                surfaceName blob.obj;
+            }
+        }
+    }
 }
 */
 
-- 
GitLab