Skip to content
Snippets Groups Projects
Commit 26161164 authored by henry's avatar henry
Browse files

Corrected the filtering of the processor patches.

See http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/11559
parent b037b0e9
No related merge requests found
......@@ -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<processorFvPatchScalarField>(phip))
if (!isType<processorFvsPatchScalarField>(phip))
{
if
(
......@@ -128,7 +128,7 @@ bool Foam::adjustPhi
const fvPatchVectorField& Up = U.boundaryField()[patchi];
fvsPatchScalarField& phip = phi.boundaryField()[patchi];
if (!isType<processorFvPatchScalarField>(phip))
if (!isType<processorFvsPatchScalarField>(phip))
{
if
(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment