BUG: faceSource - incorrect treatment for cyclic - mantis #1092 #1181

This commit is contained in:
andy
2014-02-24 09:09:54 +00:00
committed by Andrew Heather
parent 9688b6ccdc
commit bbc255f368

View File

@ -188,11 +188,7 @@ void Foam::fieldValues::faceSource::setPatchFaces()
const polyPatch& pp = mesh().boundaryMesh()[patchId];
label nFaces = pp.size();
if (isA<cyclicPolyPatch>(pp))
{
nFaces /= 2;
}
else if (isA<emptyPolyPatch>(pp))
if (isA<emptyPolyPatch>(pp))
{
nFaces = 0;
}