mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
@ -188,11 +188,7 @@ void Foam::fieldValues::faceSource::setPatchFaces()
|
|||||||
const polyPatch& pp = mesh().boundaryMesh()[patchId];
|
const polyPatch& pp = mesh().boundaryMesh()[patchId];
|
||||||
|
|
||||||
label nFaces = pp.size();
|
label nFaces = pp.size();
|
||||||
if (isA<cyclicPolyPatch>(pp))
|
if (isA<emptyPolyPatch>(pp))
|
||||||
{
|
|
||||||
nFaces /= 2;
|
|
||||||
}
|
|
||||||
else if (isA<emptyPolyPatch>(pp))
|
|
||||||
{
|
{
|
||||||
nFaces = 0;
|
nFaces = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user