- 29 May, 2009 1 commit
-
-
mattijs authored
-
- 05 May, 2009 1 commit
-
-
henry authored
-
- 23 Apr, 2009 1 commit
-
-
mattijs authored
-
- 20 Apr, 2009 1 commit
-
-
mattijs authored
-
- 16 Apr, 2009 1 commit
-
-
mattijs authored
-
- 15 Apr, 2009 2 commits
- 14 Apr, 2009 1 commit
-
-
mattijs authored
-
- 13 Apr, 2009 1 commit
-
-
mattijs authored
-
- 09 Apr, 2009 2 commits
- 07 Apr, 2009 1 commit
-
-
mattijs authored
-
- 06 Apr, 2009 1 commit
-
-
mattijs authored
-
- 23 Mar, 2009 1 commit
-
-
mattijs authored
-
- 20 Mar, 2009 1 commit
-
-
mattijs authored
-
- 18 Mar, 2009 2 commits
- 12 Mar, 2009 1 commit
-
-
mattijs authored
-
- 06 Mar, 2009 1 commit
-
-
mattijs authored
-
- 05 Mar, 2009 1 commit
-
-
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.
-
- 04 Mar, 2009 1 commit
-
-
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).
-
- 27 Feb, 2009 1 commit
-
-
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
-
- 26 Feb, 2009 2 commits
-
-
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
-
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
-
- 24 Feb, 2009 1 commit
-
-
mattijs authored
-
- 13 Feb, 2009 1 commit
-
-
mattijs authored
-
- 06 Feb, 2009 1 commit
-
-
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.
-
- 05 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 02 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 29 Jan, 2009 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 27 Jan, 2009 1 commit
-
-
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.
-
- 23 Jan, 2009 2 commits
- 21 Jan, 2009 2 commits
-
-
Mark Olesen authored
- new members: capacity(), two-argument resize()/setSize(), const storage() - new static members: max_value(), packing(), etc.
-
Mark Olesen authored
-
- 16 Jan, 2009 2 commits
-
-
Mark Olesen authored
- grammar in comments, namespace qualifiers, etc.
-
Mark Olesen authored
- uniform use of reinterpret_cast<foo*>(0) instead of reinterpret_cast<foo*>(NULL) - make all static null() members inline since they are really only a cast: "*reinterpret_cast<foo*>(0)"
-
- 10 Jan, 2009 2 commits
-
-
Mark Olesen authored
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or 'XX.size() <= 0' or for simpler coding. It also has the same number of characters as '!XX.size()' and /might/ be more readable - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1' when a simple 'XX.size()' suffices
-
Mark Olesen authored
-