MRFZone: Synchronize the faceType across processor patches

Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1685
This commit is contained in:
Henry 2015-05-25 11:34:30 +01:00
parent 6181eecda5
commit 6c9dc8867f

View file

@ -30,6 +30,7 @@ License
#include "fvMatrices.H"
#include "faceSet.H"
#include "geometricOneField.H"
#include "syncTools.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -117,6 +118,9 @@ void Foam::MRFZone::setMRFFaces()
}
}
// Synchronize the faceType across processor patches
syncTools::syncFaceList(mesh_, faceType, maxEqOp<label>());
// Now we have for faceType:
// 0 : face not in cellZone
// 1 : internal face or normal patch face