snappyLayerDriver: Updated for changes to polyTopoChange::addPatchCellLayer
This commit is contained in:
@ -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
|
||||
);
|
||||
|
||||
|
||||
@ -1098,7 +1098,7 @@ void Foam::addPatchCellLayer::setRefinement
|
||||
);
|
||||
}
|
||||
|
||||
if (faceCellZones[patchFacei] != -1)
|
||||
if (faceCellZones.size() && faceCellZones[patchFacei] != -1)
|
||||
{
|
||||
cellZonesAddedCells_[faceCellZones[patchFacei]].insert
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user