Skip to content
Snippets Groups Projects
Commit d8638da0 authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

set number of patches before changing faces

parent 6bd5df7f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
meshMod_.setNumPatches(patchNames_.size());
const faceZoneMesh& fz = m.faceZones();
labelList faceZoneIndices(fz.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment