Commit b9a5d9c0 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

BUG: autoLayerDriver: handling nBufferCells < 0

parent 81cc2187
......@@ -2066,6 +2066,15 @@ void Foam::autoLayerDriver::setupLayerInfoTruncation
}
}
nPatchPointLayers = patchNLayers;
// Set any unset patch face layers
forAll(nPatchFaceLayers, patchFaceI)
{
if (nPatchFaceLayers[patchFaceI] == -1)
{
nPatchFaceLayers[patchFaceI] = 0;
}
}
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment