1. 23 Jun, 2009 1 commit
  2. 12 Jun, 2009 1 commit
  3. 11 Jun, 2009 1 commit
  4. 29 May, 2009 1 commit
  5. 05 May, 2009 1 commit
  6. 23 Apr, 2009 1 commit
  7. 20 Apr, 2009 1 commit
  8. 16 Apr, 2009 1 commit
  9. 15 Apr, 2009 2 commits
  10. 14 Apr, 2009 1 commit
  11. 13 Apr, 2009 1 commit
  12. 09 Apr, 2009 2 commits
  13. 07 Apr, 2009 1 commit
  14. 06 Apr, 2009 1 commit
  15. 23 Mar, 2009 1 commit
  16. 20 Mar, 2009 1 commit
  17. 18 Mar, 2009 2 commits
  18. 12 Mar, 2009 1 commit
  19. 06 Mar, 2009 1 commit
  20. 05 Mar, 2009 1 commit
    • Mark Olesen's avatar
      regIOobject, Hasher, IOobject tweak · 7544164d
      Mark Olesen authored
      - regIOobject: don't re-register an unregister object on rename/assignment
      - Hasher: split-off HasherInt with uint32_t specializations
      - IOobject: writeBanner/writeDivider return Stream for easier chaining.
      
      ... also dropped some namespace bracketing while I was at it.
      7544164d
  21. 04 Mar, 2009 1 commit
    • Mark Olesen's avatar
      Switched from old hashing functions to use Bob Jenkins' hash routine · 17548296
      Mark Olesen authored
      - If the underlying type is contiguous, FixedList hashes its storage directly.
      - Drop labelPairHash (non-commutative) from fvMeshDistribute since
        FixedList::Hash does the right thing anyhow.
      - Hash<edge> specialization is commutative, without multiplication.
      - Hash<triFace> specialization kept multiplication (but now uLabel).
        There's not much point optimizing it, since it's not used much anyhow.
      
      Misc. changes
      
      - added StaticAssert to NamedEnum.H
      - label.H / uLabel.H : define FOAM_LABEL_MAX, FOAM_ULABEL_MAX with the
        values finally used for the storage.  These can be useful for pre-processor
        checks elsewhere (although I stopped needing them in the meantime).
      17548296
  22. 27 Feb, 2009 1 commit
    • Mark Olesen's avatar
      Preliminary work on hashing · 576d9388
      Mark Olesen authored
      - Hash returns unsigned
      - FixedList templated on unsigned int
      - include uLabel.H in UList, HashTable etc. so the output function is know
        throughout
      576d9388
  23. 26 Feb, 2009 2 commits
    • Mark Olesen's avatar
      HashTable changes · a46c85f5
      Mark Olesen authored
      - make table power-of-two, but since it seems to give 1-2% performance
        improvement, maybe forget it too.
      
      - remove two-argument form of hashing classes and do the modulus direclty
        within HashTable instead. This simplifies things a fair bit.
      
      - migrate Hash<void*> from db/dlLibrary to primitives/hashes/Hash
      a46c85f5
    • Mark Olesen's avatar
      PackedList bugfix, HashTable tweak · 2aeee852
      Mark Olesen authored
      - it was possible to create a PackedList::iterator from a
        PackedList::const_iterator and violate const-ness
      
      - added HashTable::printInfo for emitting some information
      
      - changed default table sizes from 100 -> 128 in preparation for future
        2^n table sizes
      2aeee852
  24. 24 Feb, 2009 1 commit
  25. 13 Feb, 2009 1 commit
  26. 06 Feb, 2009 1 commit
    • Mark Olesen's avatar
      consistency update · 69918f23
      Mark Olesen authored
      - OSspecific: chmod() -> chMod(), even although it's not used anywhere
      
      - ListOps get subset() and inplaceSubset() templated on BoolListType
      
      - added UList<bool>::operator[](..) const specialization.
        Returns false (actually pTraits<bool>::zero) for out-of-range elements.
        This lets us use List<bool> with lazy evaluation and no noticeable
        change in performance.
      
      - use rcIndex() and fcIndex() wherever possible.
        Could check if branching or modulus is faster for fcIndex().
      
      - UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
        Similar to the STL front() and std::string::data() methods, they return a
        pointer to the first element without needing to write '&myList[0]', recast
        begin() or violate const-ness.
      69918f23
  27. 05 Feb, 2009 1 commit
  28. 02 Feb, 2009 1 commit
  29. 29 Jan, 2009 2 commits
  30. 27 Jan, 2009 1 commit
    • Mark Olesen's avatar
      reworked surfMesh and PrimitivePatchExtra · ffdb280a
      Mark Olesen authored
      - ditched PrimitivePatchExtra in favour of a PatchTools class that is
        currently just a collection of static functions. They could equally well
        live within PrimitivePatch itself, but isolated also has its advantages.
      
      - MeshedSurface, UnsortedMeshedSurface now have 'regions' instead of
        'patches' since they are more like a faceZone for meshed surfaces than
        patches. This might avoid confusion at a later stage.
      ffdb280a
  31. 23 Jan, 2009 2 commits
  32. 21 Jan, 2009 2 commits
  33. 16 Jan, 2009 1 commit