From fc1d7a4742ff813cd0d7a23368682096c5b611cb Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Fri, 6 Feb 2015 15:30:47 +0000
Subject: [PATCH] regionCoupledBase: corrected output name for nbrRegionName_
 Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1511

---
 .../patches/regionCoupledPolyPatch/regionCoupledBase.C        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C b/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C
index 00ace906cbc..a9cb60355de 100644
--- a/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C
+++ b/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2014 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -337,7 +337,7 @@ void Foam::regionCoupledBase::write(Ostream& os) const
 {
     os.writeKeyword("neighbourPatch") << nbrPatchName_
     << token::END_STATEMENT << nl;
-    os.writeKeyword("nbrRegionName") << nbrRegionName_
+    os.writeKeyword("neighbourRegion") << nbrRegionName_
     << token::END_STATEMENT << nl;
 
     if (AMIReverse_)
-- 
GitLab