mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: createBaffles.C: converting coupled faces into baffles
This commit is contained in:
@ -290,18 +290,6 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Whether first use of face (modify) or consecutive (add)
|
// Whether first use of face (modify) or consecutive (add)
|
||||||
PackedBoolList modifiedFace(mesh.nFaces());
|
PackedBoolList modifiedFace(mesh.nFaces());
|
||||||
// Never modify coupled faces
|
|
||||||
forAll(patches, patchI)
|
|
||||||
{
|
|
||||||
const polyPatch& pp = patches[patchI];
|
|
||||||
if (pp.coupled())
|
|
||||||
{
|
|
||||||
forAll(pp, i)
|
|
||||||
{
|
|
||||||
modifiedFace[pp.start()+i] = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
label nModified = 0;
|
label nModified = 0;
|
||||||
|
|
||||||
forAll(newMasterPatches, i)
|
forAll(newMasterPatches, i)
|
||||||
|
|||||||
Reference in New Issue
Block a user