Commit d8638da0 authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

set number of patches before changing faces

parent 6bd5df7f
......@@ -275,6 +275,12 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
patchIndices[patchI] = patchIndex(bm[patchI]);
// Temporary: update number of allowable patches. This should be
// determined at the top - before adding anything.
const faceZoneMesh& fz = m.faceZones();
labelList faceZoneIndices(fz.size());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment