Commit 707e3d6c authored by andy's avatar andy
Browse files

Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

parents af03a92b ec3bdab6
......@@ -326,15 +326,14 @@ Foam::FacePostProcessing<CloudType>::FacePostProcessing
forAll(fz, j)
{
label faceI = fz[j];
label bFaceI = faceI - owner.mesh().nInternalFaces();
label patchI = pbm.patchID()[bFaceI];
if (patchI == -1)
if (faceI < owner.mesh().nInternalFaces())
{
totArea += magSf[fz[j]];
}
else
{
label bFaceI = faceI - owner.mesh().nInternalFaces();
label patchI = pbm.patchID()[bFaceI];
const polyPatch& pp = pbm[patchI];
if
......
Supports Markdown
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