From 26161164bb5ce3c04fd4ae25bfdc439e61afa27f Mon Sep 17 00:00:00 2001 From: henry Date: Mon, 9 Mar 2009 19:50:42 +0000 Subject: [PATCH] Corrected the filtering of the processor patches. See http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/11559 --- src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C b/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C index 327c24b0d1..9977a34705 100644 --- a/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C +++ b/src/finiteVolume/cfdTools/general/adjustPhi/adjustPhi.C @@ -27,7 +27,7 @@ License #include "adjustPhi.H" #include "volFields.H" #include "surfaceFields.H" -#include "processorFvPatchFields.H" +#include "processorFvsPatchFields.H" #include "inletOutletFvPatchFields.H" // * * * * * * * * * * * * * * * Global Functions * * * * * * * * * * * * * // @@ -52,7 +52,7 @@ bool Foam::adjustPhi const fvPatchVectorField& Up = U.boundaryField()[patchi]; const fvsPatchScalarField& phip = phi.boundaryField()[patchi]; - if (!isType(phip)) + if (!isType(phip)) { if ( @@ -128,7 +128,7 @@ bool Foam::adjustPhi const fvPatchVectorField& Up = U.boundaryField()[patchi]; fvsPatchScalarField& phip = phi.boundaryField()[patchi]; - if (!isType(phip)) + if (!isType(phip)) { if (