BUG: autoLayerDriver: handling nBufferCells < 0

This commit is contained in:
mattijs 2014-09-03 16:53:08 +01:00
parent 9bed9f56af
commit d70219296c

View file

@ -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
{