From c324e4a1d538b0cc49b6e50d82b1bc3c967d8094 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Mon, 2 Jul 2012 13:48:19 +0100
Subject: [PATCH] ENH: ptscotchDecomp: get coeffs from scotchCoeffs instead of
 ptscotchCoeffs

---
 src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C
index 81d38518371..56a669b1199 100644
--- a/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C
+++ b/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.C
@@ -401,10 +401,10 @@ Foam::label Foam::ptscotchDecomp::decompose
     }
 
     // Dump graph
-    if (decompositionDict_.found("ptscotchCoeffs"))
+    if (decompositionDict_.found("scotchCoeffs"))
     {
         const dictionary& scotchCoeffs =
-            decompositionDict_.subDict("ptscotchCoeffs");
+            decompositionDict_.subDict("scotchCoeffs");
 
         if (scotchCoeffs.lookupOrDefault("writeGraph", false))
         {
-- 
GitLab