1. 15 Jun, 2020 1 commit
  2. 18 May, 2020 1 commit
  3. 13 May, 2020 1 commit
  4. 04 May, 2020 1 commit
  5. 27 Apr, 2020 1 commit
    • Mark Olesen's avatar
      ENH: retain compound type on List output (continuation of 68de0528) · 394a3a9b
      Mark Olesen authored
      - can help in circumstances when an zero-sized entry is written on
        some processors, but the compound-type may be useful for determining
        a particular code path when re-reading the files. Ensures that the
        information is consistent on all processors.
      
      STYLE: adjust separation of includes between List.H and UList.H
      394a3a9b
  6. 18 Mar, 2020 1 commit
  7. 18 Feb, 2020 1 commit
  8. 03 Feb, 2020 1 commit
  9. 31 Jan, 2020 1 commit
  10. 30 Jan, 2020 1 commit
  11. 28 Jan, 2020 1 commit
  12. 10 Dec, 2019 1 commit
  13. 06 Dec, 2019 2 commits
    • Mark Olesen's avatar
      ENH: suppress keyword indentation when keyword is empty (List, Field) · 68de0528
      Mark Olesen authored
      - output the "uniform", "nonuniform" Field entry tags as words instead
        of raw character strings, which can help for direct tokenization or
        when sending/receiving via Pstreams.
      68de0528
    • Mark Olesen's avatar
      ENH: add ITstream append and seek methods. · 9fd696e1
      Mark Olesen authored
      - ITstream append() would previously have used the append from the
        underlying tokenList, which leaves the tokenIndex untouched and
        renders the freshly appended tokens effectively invisible if
        interspersed with primitiveEntry::read() that itself uses tokenIndex
        when building the list.
      
        The new append() method makes this hidden ITstream bi-directionality
        easier to manage. For efficiency, we only append lists
        (not individual tokens) and support a 'lazy' resizing that allows
        the final resizing to occur later when all tokens have been appended.
      
      - The new ITstream seek() method provides a conveniently means to move
        to the end of the list or reposition to the middle.
        Using rewind() and using seek(0) are identical.
      
      ENH: added OTstream to output directly to a list of tokens
      
      ---
      
      BUG: List::newElem resized incorrectly
      
      - had a simple doubling of the List size without checking that this
        would indeed be sufficient for the requested index.
      
        Bug was not triggered since primitiveEntry was the only class using
        this call, and it added the tokens sequentially.
      9fd696e1
  14. 31 Oct, 2019 1 commit
  15. 05 Nov, 2019 1 commit
  16. 28 Oct, 2019 1 commit
  17. 04 Oct, 2019 1 commit
    • Mark Olesen's avatar
      ENH: improvements to SubList and SubField · 61e95b84
      Mark Olesen authored
      - SubField and SubList assign from zero
      - SubField +=, -=, *=, /= operators
      
      - SubList construct from UList (as per SubField)
      
        Note: constructing an anonymous SubField or SubList with a single
        parameter should use '{} instead of '()' to avoid compiler
        ambiguities.
      61e95b84
  18. 02 Oct, 2019 2 commits
  19. 27 Aug, 2019 1 commit
  20. 29 Jul, 2019 2 commits
    • Mark Olesen's avatar
      ENH: add readContiguous detail (#1378) · 39834d8f
      Mark Olesen authored
      - allows some internal handling for reading dissimilar storage types.
        Eg, scalars written as float (WM_SP), but read as double (WM_DP)
      
      - reading binary parcel coordinates with dissimilar storage types is
        still pending
      39834d8f
    • Mark Olesen's avatar
      ENH: additional contiguous traits (#1378) · 1d79c045
      Mark Olesen authored
      - change contiguous from a series of global functions to separate
        templated traits classes:
      
          - is_contiguous
          - is_contiguous_label
          - is_contiguous_scalar
      
        The static constexpr 'value' and a constexpr conversion operator
        allow use in template expressions.  The change also makes it much
        easier to define general traits and to inherit from them.
      
        The is_contiguous_label and is_contiguous_scalar are special traits
        for handling data of homogeneous components of the respective types.
      1d79c045
  21. 12 Aug, 2019 1 commit
  22. 17 Jul, 2019 1 commit
  23. 12 Jul, 2019 1 commit
  24. 01 May, 2019 1 commit
  25. 29 Apr, 2019 1 commit
  26. 24 Apr, 2019 2 commits
  27. 16 Apr, 2019 1 commit
  28. 11 Apr, 2019 3 commits
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      STYLE: remove unneeded, rarely used construct/assign List from BiIndirectList · cf916554
      Mark Olesen authored
      - the only code location using BiIndirectList are debug sections
        within polyTopoChange.
      
        No need to construct/assign directly from a BiIndirectList since
        the '()' method provides a simple alternative.
      cf916554
    • Mark Olesen's avatar
      ENH: generalize indirect lists and support new types · 765493b6
      Mark Olesen authored
      - use an IndirectListBase class for various indirect list types.
      
      - new SortList type
      
        In some places the SortList can be used as a lightweight alternative
        to SortableList to have the convenience of bundling data and sort
        indices together, but while operating on existing data lists.
        In other situations, it can be useful as an alternative to
        sortedOrder.  For example,
      
              pointField points = ...;
      
              labelList order;
              sortedOrder(points, order);
      
              forAll(order, i)
              {
                  points[order[i]] = ...;
              }
      
         Can be replaced with the following (with the same memory overhead)
      
              pointField points = ...;
      
              SortList<point> sortedPoints(points);
      
              for (point& pt : sortedPoints)
              {
                  pt = ...;
              }
      
      - new SliceList type (#1220), which can be used for stride-based
        addressing into existing lists
      765493b6
  29. 13 Mar, 2019 1 commit
    • Mark Olesen's avatar
      ENH: PtrList and PtrListOps improvements · 9149b357
      Mark Olesen authored
      - PtrDynList support for move append list:
        can be used to concatenate pointer lists into a single one
      
      - include resize in PtrDynList squeezeNull as being a natural
        combination
      
      - support sorting operations for pointer lists (PtrListOps)
      9149b357
  30. 08 Feb, 2019 1 commit
  31. 07 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: code adjustments for updated NullObject · 078e3474
      Mark Olesen authored
      - can now safely use labelList::null() instead of emptyLabelList for
        return values. No special treatment required for lists.
      
        Possible replacements:
      
            if (notNull(list) && list.size())  ->  if (list.size())
            if (isNull(list) || list.empty())  ->  if (list.empty())
      
        The receiver may still wish to handle differently to distinguish
        between a null list and an empty list, but no additional special
        protection is required when obtaining sizes, traversing, outputting
        etc.
      078e3474
  32. 06 Feb, 2019 1 commit
  33. 25 Jan, 2019 2 commits