diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C index 6b4a8fa7220040922dba0140731ac756d5a2636c..9ce03ec25c80b646eefc4971f6f967b55ea5b25f 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C @@ -1127,6 +1127,8 @@ void Foam::autoLayerDriver::medialAxisSmoothingInfo && !adaptPatches.found(patchI) ) { + const labelList& meshPoints = pp.meshPoints(); + // Check the type of the patchField. The types are // - fixedValue (0 or more layers) but the >0 layers have // already been handled in the adaptPatches loop