1. 08 Jun, 2020 1 commit
  2. 22 Nov, 2019 1 commit
  3. 31 Oct, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 14 Nov, 2018 1 commit
  6. 11 Nov, 2018 1 commit
  7. 31 Oct, 2018 2 commits
  8. 30 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: topoSetSource::SUBTRACT enum action (#1060) · 7325e3ac
      Mark Olesen authored
      - old 'DELETE' enum was easily confused with 'REMOVE', which removes
        the set, not the elements from the set.
      
      - provide corresponding subtractSet() method
      
      STYLE: HashSet set/unset instead of insert/erase methods in topoSetSource
      
      - simplifies switching to/from bitSet storage
      7325e3ac
  9. 30 May, 2018 1 commit
  10. 21 Mar, 2018 1 commit
  11. 26 Feb, 2018 1 commit
    • Mark Olesen's avatar
      ENH: cleanup autoPtr class (issue #639) · 660f3e54
      Mark Olesen authored
      Improve alignment of its behaviour with std::unique_ptr
      
        - element_type typedef
        - release() method - identical to ptr() method
        - get() method to get the pointer without checking and without releasing it.
        - operator*() for dereferencing
      
      Method name changes
      
        - renamed rawPtr() to get()
        - renamed rawRef() to ref(), removed unused const version.
      
      Removed methods/operators
      
        - assignment from a raw pointer was deleted (was rarely used).
          Can be convenient, but uncontrolled and potentially unsafe.
          Do allow assignment from a literal nullptr though, since this
          can never leak (and also corresponds to the unique_ptr API).
      
      Additional methods
      
        - clone() method: forwards to the clone() method of the underlying
          data object with argument forwarding.
      
        - reset(autoPtr&&) as an alternative to operator=(autoPtr&&)
      
      STYLE: avoid implicit conversion from autoPtr to object type in many places
      
      - existing implementation has the following:
      
           operator const T&() const { return operator*(); }
      
        which means that the following code works:
      
             autoPtr<mapPolyMesh> map = ...;
             updateMesh(*map);    // OK: explicit dereferencing
             updateMesh(map());   // OK: explicit dereferencing
             updateMesh(map);     // OK: implicit dereferencing
      
        for clarity it may preferable to avoid the implicit dereferencing
      
      - prefer operator* to operator() when deferenced a return value
        so it is clearer that a pointer is involve and not a function call
        etc    Eg,   return *meshPtr_;  vs.  return meshPtr_();
      660f3e54
  12. 06 Jul, 2018 1 commit
  13. 19 Nov, 2017 1 commit
  14. 22 May, 2018 1 commit
  15. 29 Apr, 2017 1 commit
    • Mark Olesen's avatar
      ENH: improve HashSet construction and assignment · 6a5ea9a2
      Mark Olesen authored
      - make construct from UList explicit and provide corresponding
        assignment operator.
      
      - add construct,insert,set,assignment from FixedList.
        This is convenient when dealing with things like edges or triFaces.
      6a5ea9a2
  16. 16 Nov, 2016 1 commit
  17. 05 Aug, 2016 1 commit
  18. 01 Nov, 2015 1 commit
  19. 14 Aug, 2011 1 commit
  20. 19 Jan, 2011 1 commit
  21. 14 Jan, 2011 1 commit
  22. 07 Jan, 2011 1 commit
  23. 05 Jan, 2011 2 commits
  24. 28 Jul, 2010 1 commit
  25. 12 Apr, 2010 1 commit
  26. 29 Mar, 2010 1 commit
  27. 29 Jan, 2010 1 commit
    • mattijs's avatar
      ENH: sets are now searched for. · 8b7f6666
      mattijs authored
      Some tools now output sets at the pointsInstance (if relating to geometry),
      some at the facesInstance (if relating to topology).
      So when loading them we now search for them from current time down
      to facesInstance. They cannot be beyond facesInstance.
      Adapted Time::findInstance to take optional limiting instance. Adapted
      topoSet to use this. Adapted all uses of IOobjectList on sets to do the
      same.
      8b7f6666
  28. 24 Sep, 2009 1 commit
  29. 31 Dec, 2008 1 commit
  30. 18 Nov, 2008 1 commit
    • Mark Olesen's avatar
      HashSet gets additional operators · 1c9102da
      Mark Olesen authored
       - operator+=  : add in the listed keys
       - operator-=  : remove the listed keys
       - operator&=  : intersection of keys
       - added xfer constructor (just in case)
       - moved labelHashSet typedef to HashSet.H, for consistency with the
         wordHashSet typedef being there and since it is used so often
      1c9102da
  31. 25 Jun, 2008 2 commits
  32. 15 Apr, 2008 1 commit