- Mar 06, 2009
-
-
Mark Olesen authored
- objectRegistry gets a rename() that also adjusts the dbDir - cloud reworked to use static variables subInstance and defaultName. This avoids writing "lagrangian" everywhere string fixes - avoid masking of std::string::replace in string.H - avoid old strstream in PV3FoamReader
-
- Mar 05, 2009
-
-
Mark Olesen authored
-
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.
-
Mark Olesen authored
-
- Mar 04, 2009
-
-
mattijs authored
-
Mark Olesen authored
-
Mark Olesen authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
Mark Olesen authored
- this seems to be the most sensible solution. The changed time stamps on the links doesn't seem to bother make at all.
-
Mark Olesen authored
-
Mark Olesen authored
-
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).
-
- Mar 03, 2009
-
-
mattijs authored
modified: finiteVolume/cfdTools/general/MRF/MRFZone.C modified: finiteVolume/cfdTools/general/MRF/MRFZone.H modified: ../tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones
-
- Mar 02, 2009
-
-
Mark Olesen authored
- not much speed difference between SuperFastHash and Jenkin's lookup3 but both are 5-10% faster than what is currently implemented in Foam::string, albeit inlining probably helps there. - TODO: integration with existing infrastructure
-
- Mar 01, 2009
- Feb 27, 2009
-
-
Mark Olesen authored
-
Mark Olesen authored
- catch people using silly template sizes for FixedList, PackedList
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
Mark Olesen authored
- compare iteratorBase == iteratorBase by value, not position thus this works list[a] == list[b] ... - compare iterator == iteratorBase and const_iterator == iteratorBase by position, not value. The inheritance rules means that this works: iter == list.end() ... this will compare positions: iter == list[5]; Of course, this will still compare values: *iter == list[5];
-
mattijs authored
-
mattijs authored
-
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
-
mattijs authored
-
- Feb 26, 2009
-
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
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
-