snappyLayerDriver: Updated for changes to polyTopoChange::addPatchCellLayer

This commit is contained in:
Henry Weller
2024-03-19 15:15:44 +00:00
parent 33aa449682
commit 4854277915
2 changed files with 2 additions and 1 deletions

View File

@ -3323,6 +3323,7 @@ void Foam::snappyLayerDriver::addLayers
nPatchFaceLayers, // layers per face
nPatchPointLayers, // layers per point
finalDisp, // thickness of layer nearest internal mesh
labelList::null(),
meshMod
);

View File

@ -1098,7 +1098,7 @@ void Foam::addPatchCellLayer::setRefinement
);
}
if (faceCellZones[patchFacei] != -1)
if (faceCellZones.size() && faceCellZones[patchFacei] != -1)
{
cellZonesAddedCells_[faceCellZones[patchFacei]].insert
(