Skip to content
Snippets Groups Projects
  • mattijs's avatar
    2de68a9a
    BUG: snappyHexMesh: minThickness > 1 caused truncation of layers · 2de68a9a
    mattijs authored
    The start of the layer addition loop does a synchronisation of the wanted
    displacement. This also does a truncation of the displacement if it is <
    minThickness. At the first iteration the displacement was initialised to
    vector::one which might trigger the truncation logic (and then disable
    extrusion altogether). Instead we now initialise the displacement to
    vector::GREAT before entering the synchronisation.
    2de68a9a
    History
    BUG: snappyHexMesh: minThickness > 1 caused truncation of layers
    mattijs authored
    The start of the layer addition loop does a synchronisation of the wanted
    displacement. This also does a truncation of the displacement if it is <
    minThickness. At the first iteration the displacement was initialised to
    vector::one which might trigger the truncation logic (and then disable
    extrusion altogether). Instead we now initialise the displacement to
    vector::GREAT before entering the synchronisation.