From 52e99137eb3063f7eab67a6a036373580d196d9c Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Sat, 8 Oct 2016 19:05:14 +0100 Subject: [PATCH] Optimised global reduce for labelList --- .../db/IOstreams/Pstreams/PstreamReduceOps.C | 88 ++++++++- .../db/IOstreams/Pstreams/PstreamReduceOps.H | 15 +- .../IOstreams/Pstreams/allReduceTemplates.C | 173 ++---------------- 3 files changed, 106 insertions(+), 170 deletions(-) diff --git a/src/foam/db/IOstreams/Pstreams/PstreamReduceOps.C b/src/foam/db/IOstreams/Pstreams/PstreamReduceOps.C index 1ccf5ed27..08bbd77fa 100644 --- a/src/foam/db/IOstreams/Pstreams/PstreamReduceOps.C +++ b/src/foam/db/IOstreams/Pstreams/PstreamReduceOps.C @@ -250,8 +250,8 @@ void Foam::reduce void Foam::reduce ( - UList