Browse files

BUG: #680: star4ToFoam truncates boundaries

  • Loading branch information...
1 parent 0ef46cb commit 4e8644c57f9e9f7bd067b72fa6a09a9c9cb34548 mattijs committed Nov 13, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/conversion/meshReader/createPolyBoundary.C
View
8 src/conversion/meshReader/createPolyBoundary.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -303,14 +303,12 @@ void Foam::meshReader::createPolyBoundary()
Info<< "Added " << nMissingFaces << " unmatched faces" << endl;
+ // Add missing faces to last patch ('Default_Empty' etc.)
if (nMissingFaces > 0)
{
patchSizes_.last() = nMissingFaces;
}
- else
- {
- patchStarts_.setSize(patchStarts_.size() - 1);
- }
+
// reset the size of the face list
meshFaces_.setSize(nCreatedFaces);

0 comments on commit 4e8644c

Please sign in to comment.