From 16c7318aee6b22df4b152dfbe59798ead5db0fb3 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Tue, 17 Feb 2015 23:59:21 +0000
Subject: [PATCH] outletInletFvPatchField: store Field<scalar> rather than
 fvsPatchField<scalar> for phip Resolves bug-report
 http://www.openfoam.org/mantisbt/view.php?id=1539

---
 .../derived/outletInlet/outletInletFvPatchField.C             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C
index 3ebe9f8ebd..d6f69f823a 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -120,7 +120,7 @@ void Foam::outletInletFvPatchField<Type>::updateCoeffs()
         return;
     }
 
-    const fvsPatchField<scalar>& phip =
+    const Field<scalar>& phip =
         this->patch().template lookupPatchField<surfaceScalarField, scalar>
         (
             phiName_
-- 
GitLab