BUG: autoLayerDriver: handling nBufferCells < 0
This commit is contained in:
parent
9bed9f56af
commit
d70219296c
1 changed files with 9 additions and 0 deletions
|
|
@ -2066,6 +2066,15 @@ void Foam::autoLayerDriver::setupLayerInfoTruncation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nPatchPointLayers = patchNLayers;
|
nPatchPointLayers = patchNLayers;
|
||||||
|
|
||||||
|
// Set any unset patch face layers
|
||||||
|
forAll(nPatchFaceLayers, patchFaceI)
|
||||||
|
{
|
||||||
|
if (nPatchFaceLayers[patchFaceI] == -1)
|
||||||
|
{
|
||||||
|
nPatchFaceLayers[patchFaceI] = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue