Skip to content
Snippets Groups Projects
Commit e299b012 authored by andy's avatar andy
Browse files

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

parent f285247d
Branches
Tags
No related merge requests found
...@@ -161,6 +161,9 @@ void Foam::layerAdditionRemoval::addCellLayer ...@@ -161,6 +161,9 @@ void Foam::layerAdditionRemoval::addCellLayer
forAll(mf, faceI) forAll(mf, faceI)
{ {
label cellI = mc[faceI];
label zoneI = mesh.cellZones().whichZone(cellI);
addedCells[faceI] = addedCells[faceI] =
ref.setAction ref.setAction
( (
...@@ -170,7 +173,7 @@ void Foam::layerAdditionRemoval::addCellLayer ...@@ -170,7 +173,7 @@ void Foam::layerAdditionRemoval::addCellLayer
-1, // master edge -1, // master edge
mf[faceI], // master face mf[faceI], // master face
-1, // master cell -1, // master cell
-1 // zone for cell zoneI // zone for cell
) )
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment