1. 26 Mar, 2018 1 commit
    • Mark OLESEN's avatar
      STYLE: consistent lookupOrDefault template parameters · 36719bf5
      Mark OLESEN authored
      - in many cases can just use lookupOrDefault("key", bool) instead of
        lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a
        bool from an Istream uses the Switch(Istream&) anyhow
      
      STYLE: relocated Switch string names into file-local scope
      36719bf5
  2. 13 Mar, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: code reduction in PackedList, PackedBoolList (issue #751) · 5d1fb235
      Mark OLESEN authored
      - eliminate iterators from PackedList since they were unused, had
        lower performance than direct access and added unneeded complexity.
      
      - eliminate auto-vivify for the PackedList '[] operator.
        The set() method provides any required auto-vivification and
        removing this ability from the '[]' operator allows for a lower
        when accessing the values. Replaced the previous cascade of iterators
        with simpler reference class.
      
      PackedBoolList:
      
      - (temporarily) eliminate logic and addition operators since
        these contained partially unclear semantics.
      
      - the new test() method tests the value of a single bit position and
        returns a bool without any ambiguity caused by the return type
        (like the get() method), nor the const/non-const access (like
        operator[] has). The name corresponds to what std::bitset uses.
      
      - more consistent use of PackedBoolList test(), set(), unset() methods
        for fewer operation and clearer code. Eg,
      
            if (list.test(index)) ...    |  if (list[index]) ...
            if (!list.test(index)) ...   |  if (list[index] == 0u) ...
            list.set(index);             |  list[index] = 1u;
            list.unset(index);           |  list[index] = 0u;
      
      - deleted the operator=(const labelUList&) and replaced with a setMany()
        method for more clarity about the intended operation and to avoid any
        potential inadvertent behaviour.
      5d1fb235
  3. 21 Feb, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: improve consistency of ListOps and stringListOps · f9599279
      Mark OLESEN authored
      - subsetList, inplaceSubsetList with optional inverted logic.
      
      - use moveable elements where possible.
      
      - allow optional starting offset for the identity global function.
        Eg,  'identity(10, start)' vs 'identity(10) + start'
      f9599279
  4. 05 Nov, 2017 1 commit
  5. 19 Nov, 2017 1 commit
  6. 03 Jul, 2017 1 commit
  7. 29 May, 2017 1 commit
    • Mark OLESEN's avatar
      ENH: cleanup of NamedEnum · fb497164
      Mark OLESEN authored
      - Remove the unused enums() method since it delivers wholly unreliable
        results. It is not guaranteed to cover the full enumeration range,
        but only the listed names.
      
      - Remove the unused strings() method.
        Duplicated functionality of the words(), but was never used.
      
      - Change access of words() method from static to object.
        Better code isolation. Permits the constructor to take over
        as the single point of failure for bad input.
      
      - Add values() method
      
      - do not expose internal (HashTable) lookup since it makes it more
        difficult to enforce constness and the implementation detail should
        not be exposed. However leave toc() and sortedToc() for the interface.
      
      STYLE: relocated NamedEnum under primitives (was containers)
      
      - internal typedef as 'value_type' for some consistency with STL conventions
      fb497164
  8. 05 Aug, 2016 1 commit
  9. 25 Apr, 2016 2 commits
  10. 16 Apr, 2016 1 commit
  11. 26 Feb, 2016 1 commit
  12. 20 Jan, 2016 1 commit
  13. 17 Nov, 2015 2 commits
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 916dcb86
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      916dcb86
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 436902f5
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      436902f5
  14. 11 Nov, 2015 1 commit
  15. 25 Feb, 2015 1 commit
  16. 30 Sep, 2014 1 commit
  17. 20 Mar, 2014 1 commit
  18. 15 Jan, 2014 1 commit
  19. 21 Nov, 2013 1 commit
  20. 13 Nov, 2013 1 commit
  21. 12 Nov, 2013 1 commit
  22. 13 Aug, 2013 1 commit
  23. 12 Apr, 2013 1 commit
  24. 09 Jan, 2013 1 commit
  25. 17 Apr, 2012 1 commit
  26. 16 Apr, 2012 1 commit
  27. 24 Feb, 2012 1 commit
  28. 18 Jan, 2012 1 commit
  29. 15 Dec, 2011 1 commit
  30. 13 Dec, 2011 1 commit
  31. 29 Nov, 2011 1 commit
  32. 08 Nov, 2011 1 commit
  33. 28 Oct, 2011 1 commit
  34. 09 Sep, 2011 1 commit
  35. 08 Sep, 2011 1 commit
  36. 05 Sep, 2011 2 commits
  37. 02 Sep, 2011 1 commit