1. 17 Dec, 2008 2 commits
  2. 12 Dec, 2008 6 commits
  3. 11 Dec, 2008 1 commit
  4. 10 Dec, 2008 4 commits
  5. 09 Dec, 2008 2 commits
  6. 08 Dec, 2008 3 commits
  7. 03 Dec, 2008 1 commit
  8. 02 Dec, 2008 1 commit
  9. 29 Nov, 2008 1 commit
  10. 25 Nov, 2008 2 commits
    • mattijs's avatar
      transformation shortcut · 05fc4832
      mattijs authored
      05fc4832
    • Mark Olesen's avatar
      SortableList + ListOps changes · 7e2a940d
      Mark Olesen authored
      - dropped setSize() in favour of List::setSize().
        The size of the indices is set in sort() anyhow and undefined before that.
      - added reverseSort() method
      - added ListOps uniqueOrder() and duplicateOrder()
      7e2a940d
  11. 24 Nov, 2008 2 commits
    • mattijs's avatar
      full match · 7c9f49b9
      mattijs authored
      7c9f49b9
    • Mark Olesen's avatar
      DynamicList changes. · 41bbcb63
      Mark Olesen authored
      - setSize() adjusts the addressable length only.
        Changed setSize(label) usage to setCapacity(label) or reserve(label)
        throughout. The final name (capacity vs. storageSize() vs. whatever) can
        easily be decided at a later date.
      - added setSize(label, const T&), which may still not be really useful, but
        is at least now meaningful
      - made shrink() a bit more legible.
      - added append(UList<T>&)
      - copying from a UList avoids reallocations where possible
      
      The following bits of code continue to use the DynamicList::setSize(), but
      appear to be legitimate (or the corresponding code itself needs rethinking).
      
        src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C:167: error: within this context
        src/OpenFOAM/lnInclude/faceTemplates.C:44: error: within this context
        src/surfMesh/surfaceFormats/tri/TRIsurfaceFormatCore.C:178: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:737: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:741: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:745: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:749: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:754: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:935: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:940: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1041: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1046: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2161: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2162: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2201: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2205: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2261: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2262: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2263: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2264: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2265: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3011: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3076: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3244: error: within this context
        src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3371: error: within this context
        src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
        src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
        src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
        src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
      41bbcb63
  12. 23 Nov, 2008 1 commit
  13. 22 Nov, 2008 1 commit
    • Mark Olesen's avatar
      face class - triangulation · a1d7080d
      Mark Olesen authored
      - plain nTriangles() inline method for face class
        - triFace gets the same for symmetry
        - face::triangles(), face::trianglesQuads() return the number of faces generated
        - face::triangles() can append to a DynamicList
      a1d7080d
  14. 23 Nov, 2008 1 commit
    • Mark Olesen's avatar
      DynamicList improvements/disambiguities · 129e16f9
      Mark Olesen authored
      * DynamicList::allocSize(label)
        - Adjust the allocated size. The addressed list can be truncated but not
          extended, use setSize() for that.
      
      * DynamicList::reserve(label)
        - Reserve allocation for *at least* this number of elements.
          Never shrinks the allocated size, nor touches the addressed list size.
      
      * DynamicList::setSize(label)
        - proposed behaviour:
          Adjust the addressed list size, allocating extra space if required.
        - The current behaviour is ambiguous about what addressable size will
          actually get set and using it to extend the addressable size (as
          per List) automatically shrinks the allocated space to this size!
      129e16f9
  15. 22 Nov, 2008 1 commit
  16. 21 Nov, 2008 1 commit
  17. 20 Nov, 2008 2 commits
  18. 19 Nov, 2008 3 commits
  19. 18 Nov, 2008 3 commits
    • 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
    • Mark Olesen's avatar
      ListOps with (const UList<label>&) instead of (const labelList&) · 04c8cdf7
      Mark Olesen authored
      PackedList with (const UList<label>&) instead of (const labelList&)
      04c8cdf7
    • Mark Olesen's avatar
      SortableList changes · bbb989f8
      Mark Olesen authored
       - moved SortableList<T>::less class to UList<T>::less for better accessibility
       - add clear() method now also handles the indices
       - indices length is caught in sort()
       - indices remain (mostly) zero-sized until after sort()
       - allow non-const access to indices
      bbb989f8
  20. 17 Nov, 2008 2 commits