mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: cell layer addition - add new cells to existing cell zone
This commit is contained in:
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user