BUG: autoLayerDriver: handling nBufferCells < 0

This commit is contained in:
mattijs
2014-09-03 16:53:08 +01:00
committed by Andrew Heather
parent 81cc21870d
commit b9a5d9c028

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
{