1. 29 Apr, 2017 4 commits
    • 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.
    • Mark Olesen's avatar
      ENH: support HashTable erasure via a FixedList · a2ddf7dd
      Mark Olesen authored
      - propagate common erasure methods as HashSet::unset() method,
        for symmetry with HashSet::set()
    • Mark Olesen's avatar
      STYLE: HashTable documentation · ded105c5
      Mark Olesen authored
      - explicitly mention the value-initialized status for the operator().
        This means that the following code will properly use an initialized
            HashTable<label> regionCount;
            if (...)
            ... and also this;
            if (regionCount("something") > 0)
        Note that the OpenFOAM HashTable uses operator[] to provide read and
        write access to *existing* entries and will provoke a FatalError if
        the entry does not exist.
        The operator() provides write access to *existing* entries or will
        create the new entry as required.
        The STL hashes use operator[] for this purpose.
    • Mark Olesen's avatar
      ENH: further refinement to edge methods · 1d9b311b
      Mark Olesen authored
      - more hash-like methods.
        Eg, insert/erase via lists, clear(), empty(),...
      - minVertex(), maxVertex() to return the smallest/largest label used
      - improved documentation, more clarification about where/how negative
        point labels are treated.
  2. 04 May, 2017 1 commit
  3. 02 May, 2017 2 commits
  4. 28 Apr, 2017 4 commits
  5. 27 Apr, 2017 9 commits
  6. 26 Apr, 2017 1 commit
  7. 25 Apr, 2017 4 commits
  8. 24 Apr, 2017 3 commits
  9. 23 Apr, 2017 2 commits
    • Mark Olesen's avatar
      ENH: UList<point> instead of pointField for meshShapes methods · 430d8e1c
      Mark Olesen authored
      - improves flexibility.
      STYLE: make longestEdge a face method and deprecate the global function
    • Mark Olesen's avatar
      ENH: various enhancements for edge. · f2304f7c
      Mark Olesen authored
      - support edge-ordering on construction, and additional methods:
        - sort(), sorted(), unitVec(), collapse()
      - null constructor initializes with -1, for consistency with face,
        triFace and since it is generally much more useful that way.
      - add some methods that allow edges to used somewhat more like hashes.
        - count(), found(), insert(), erase()
        Here is possible way to use that:
            edge someEdge;  // initializes with '-1' for both entries
            if (someEdge.insert(pt1))
               // added a new point label
            ... later
            // unmark point on edge
      - use UList<point> instead of pointField for edge methods for flexibility.
        The pointField include is retained, however, since many other routines
        may be relying on it being included via edge.H
  10. 21 Apr, 2017 1 commit
  11. 20 Apr, 2017 3 commits
  12. 19 Apr, 2017 6 commits