From debbcfb7df4d1f8061f21f8342dd0883581fb696 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Thu, 10 Feb 2022 13:46:21 +0000
Subject: [PATCH] BUG: redistributePar: handle cyclicA(C)MI cleaner. See #1558.

Should test on patch, not patch field
---
 .../redistributePar/redistributePar.C                  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C
index 9d780363aab..03c3097deab 100644
--- a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C
+++ b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C
@@ -1341,27 +1341,27 @@ autoPtr<mapDistributePolyMesh> redistributeAndWrite
     correctCoupledBoundaryConditions
     <
         volScalarField,
-        processorFvPatchField<scalar>
+        processorFvPatch
     >(mesh);
     correctCoupledBoundaryConditions
     <
         volVectorField,
-        processorFvPatchField<vector>
+        processorFvPatch
     >(mesh);
     correctCoupledBoundaryConditions
     <
         volSphericalTensorField,
-        processorFvPatchField<sphericalTensor>
+        processorFvPatch
     >(mesh);
     correctCoupledBoundaryConditions
     <
         volSymmTensorField,
-        processorFvPatchField<symmTensor>
+        processorFvPatch
     >(mesh);
     correctCoupledBoundaryConditions
     <
         volTensorField,
-        processorFvPatchField<tensor>
+        processorFvPatch
     >(mesh);
     // No update surface fields
 
-- 
GitLab