mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
set number of patches before changing faces
This commit is contained in:
@ -275,6 +275,12 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
|
|||||||
patchIndices[patchI] = patchIndex(bm[patchI]);
|
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();
|
const faceZoneMesh& fz = m.faceZones();
|
||||||
labelList faceZoneIndices(fz.size());
|
labelList faceZoneIndices(fz.size());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user