Skip to content
Snippets Groups Projects
  1. Oct 02, 2018
  2. Sep 26, 2018
  3. Sep 20, 2018
  4. Sep 25, 2018
    • Mark OLESEN's avatar
      ENH: allow new patch names in subsetMesh (issue #1019) · d0da21fe
      Mark OLESEN authored
      Previously had 3 possibilities for handling exposed internal faces
      
        1. use default "oldInternalFaces"
        2. specify -patch, to use the specified (existing) patch
        3. specify -patches, to use the geometrically closest patches
      
      Now relaxed the restriction on -patch to allow specification of a new
      (not yet existing) patch name. This improves flexibility, but won't
      catch typing mistakes.
      
      Harmonize behaviour of -patches and -patch. When -patches is used to
      specify a single, non-regex patch name, it now behaves identically to
      -patch. Since the getList handling for options already allows special
      treatment for single parameter lists, the following will work
      identically:
      
            subsetMesh -patch  patch0
            subsetMesh -patches patch0
            subsetMesh -patches '( patch0 )'
      
      In the future it might be reasonable to fully combine the behaviour of
      '-patch' and '-patches' and treat them as aliases for each other.
      
      ENH: support subsetMesh on a cellZone.
      
      - when the '-zone' option is specified, the command argument is treated
        as the name (or names) of cellZones to be selected instead of as the
        name of the cellSet.
      
        The command argument can be a single word, regex, or list of
        word/regex.
        Eg,
      
            subsetMesh -zone -patch mypatch  mixer
            subsetMesh -zone -patch mypatch  '(mixer "moving.*" )'
      
      STYLE: simplify set handling and other code cleanup in subsetMesh
      d0da21fe
  5. Sep 21, 2018
  6. Sep 19, 2018
  7. Sep 18, 2018
  8. Sep 19, 2018
    • Mark OLESEN's avatar
      ENH: improve distanceSurface handling (issue #1012) · 4aa94bd1
      Mark OLESEN authored
      - 'signed' input parameter only mandatory for distance > 0.
        A distance <= 0 is always signed and the input parameter is ignored.
      
      - Use normal distance when distance == 0. This has no effect when
        the surface has no open edges, but improves on rounding issues
        around the zero crossing when the surface has open edges.
      
        This may still need future revisiting.
      4aa94bd1
  9. Sep 14, 2018
    • Mark OLESEN's avatar
      ENH: refactor cutting-plane cell selection · 9973c378
      Mark OLESEN authored
      - avoid duplicate code by relocating cellZone selection and bounding box
        sub-selection into cuttingPlane and cuttingSurfaceBaseSelection.
        Allows reuse by inherited classes (sampledPlane, surfMeshSamplePlane).
      9973c378
    • Mark OLESEN's avatar
      ENH: make cuttingPlane cell walker an algorithm · a8ef9e97
      Mark OLESEN authored
      - takes two general actions:
        1. orient edge in canonical direction (positive gradient) and detect
           any edge intersection.
        2. edge intersection alpha (0-1)
      
      - refactor into a cuttingSurfaceBase intermediate class with the
        actions as templated parameters rather than function pointers. This
        allows the use of lambda functions with captures from the caller.
      a8ef9e97
    • Mark OLESEN's avatar
      STYLE: split up cuttingPlane source files · 7cf232ce
      Mark OLESEN authored
      7cf232ce
  10. Sep 18, 2018
  11. Sep 19, 2018
  12. Sep 17, 2018
  13. Sep 12, 2018
  14. Sep 13, 2018
  15. Sep 12, 2018
  16. Sep 11, 2018
  17. Sep 10, 2018
  18. Sep 06, 2018
  19. Sep 05, 2018
  20. Aug 30, 2018