From 5292ef36bfc005e69bd07992e50b3481b53eb7bb Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Wed, 14 Dec 2016 09:17:29 +0000
Subject: [PATCH] ENH: controlDict: extended comment

---
 etc/controlDict | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/etc/controlDict b/etc/controlDict
index 1334cc1bb1e..067fa7361d3 100644
--- a/etc/controlDict
+++ b/etc/controlDict
@@ -62,6 +62,15 @@ OptimisationSwitches
     floatTransfer   0;
     nProcsSimpleSum 0;
 
+    // Optional max size (bytes) for unstructured data exchanges. In some
+    // phases of OpenFOAM it can send over very large data chunks
+    // (e.g. in parallel load balancing) and some Pstream implementations have
+    // problems with this. Setting this variable > 0 indicates that the
+    // data exchange needs to be done in multiple passes, each of maxCommsSize.
+    // This is not switched on by default since it requires an additional
+    // global reduction, even if multi-pass is not needed)
+    maxCommsSize    0;
+
     // Force dumping (at next timestep) upon signal (-1 to disable)
     writeNowSignal              -1; // 10;
 
-- 
GitLab