mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: #680: star4ToFoam truncates boundaries
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -303,14 +303,12 @@ void Foam::meshReader::createPolyBoundary()
|
|||||||
|
|
||||||
Info<< "Added " << nMissingFaces << " unmatched faces" << endl;
|
Info<< "Added " << nMissingFaces << " unmatched faces" << endl;
|
||||||
|
|
||||||
|
// Add missing faces to last patch ('Default_Empty' etc.)
|
||||||
if (nMissingFaces > 0)
|
if (nMissingFaces > 0)
|
||||||
{
|
{
|
||||||
patchSizes_.last() = nMissingFaces;
|
patchSizes_.last() = nMissingFaces;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
patchStarts_.setSize(patchStarts_.size() - 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// reset the size of the face list
|
// reset the size of the face list
|
||||||
meshFaces_.setSize(nCreatedFaces);
|
meshFaces_.setSize(nCreatedFaces);
|
||||||
|
|||||||
Reference in New Issue
Block a user