ENH: cell layer addition - add new cells to existing cell zone

This commit is contained in:
andy
2013-10-10 11:03:25 +01:00
parent f285247d1a
commit e299b012df

View File

@ -161,6 +161,9 @@ void Foam::layerAdditionRemoval::addCellLayer
forAll(mf, faceI)
{
label cellI = mc[faceI];
label zoneI = mesh.cellZones().whichZone(cellI);
addedCells[faceI] =
ref.setAction
(
@ -170,7 +173,7 @@ void Foam::layerAdditionRemoval::addCellLayer
-1, // master edge
mf[faceI], // master face
-1, // master cell
-1 // zone for cell
zoneI // zone for cell
)
);
}