mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: autoLayerDriver: handling nBufferCells < 0
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user