openfoam/applications/solvers/multiphase
Mark Olesen 95cd8ee75c ENH: improve hashing overloads of string-types and HashTable/HashSet
- additional dummy template parameter to assist with supporting
  derived classes. Currently just used for string types, but can be
  extended.

- provide hash specialization for various integer types.
  Removes the need for any forwarding.

- change default hasher for HashSet/HashTable from 'string::hash'
  to `Hash<Key>`. This avoids questionable hashing calls and/or
  avoids compiler resolution problems.

  For example,
  HashSet<label>::hasher and labelHashSet::hasher now both properly
  map to Hash<label> whereas previously HashSet<label> would have
  persistently mapped to string::hash, which was incorrect.

- standardize internal hashing functors.

  Functor name is 'hasher', as per STL set/map and the OpenFOAM
  HashSet/HashTable definitions.

  Older code had a local templated name, which added unnecessary
  clutter and the template parameter was always defaulted.
  For example,

      Old:  `FixedList<label, 3>::Hash<>()`
      New:  `FixedList<label, 3>::hasher()`
      Unchanged:  `labelHashSet::hasher()`

  Existing `Hash<>` functor namings are still supported,
  but deprecated.

- define hasher and Hash specialization for bitSet and PackedList

- add symmetric hasher for 'face'.
  Starts with lowest vertex value and walks in the direction
  of the next lowest value. This ensures that the hash code is
  independent of face orientation and face rotation.

NB:
  - some of keys for multiphase handling (eg, phasePairKey)
    still use yet another function naming: `hash` and `symmHash`.
    This will be targeted for alignment in the future.
2021-04-19 16:33:42 +00:00
..
cavitatingFoam ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
compressibleInterFoam ENH: fixedNormalSlip BC: add 'value' keyword (#1980, #1981) 2021-04-15 10:41:08 +02:00
compressibleMultiphaseInterFoam ENH: improve hashing overloads of string-types and HashTable/HashSet 2021-04-19 16:33:42 +00:00
driftFluxFoam ENH: centralize more libraries in src/phaseSystemModels 2020-08-05 18:56:22 +01:00
icoReactingMultiphaseInterFoam COMP: Adding fvDynamicMesh lib to option file 2021-03-18 14:12:12 -07:00
interCondensatingEvaporatingFoam ENH: centralize more libraries in src/phaseSystemModels 2020-08-05 18:56:22 +01:00
interFoam ENH: Improvement to overset that allows multiple motion solvers 2021-03-17 09:07:26 +00:00
interIsoFoam BUG: Using autoPtr for turbulence in interFoam and interIsoFoam 2020-12-16 15:00:15 -08:00
interPhaseChangeFoam ENH: new solvers: overCompressibleInterDyMFoam and overInterPhaseChangeDyMFoam 2021-03-24 12:35:31 +00:00
MPPICInterFoam BUG: Fixing cloud constructor for MPPICInterFoam 2020-12-20 19:24:12 -08:00
multiphaseEulerFoam ENH: avoid phaseSystem cyclic dependencies, reduce number of libraries 2020-08-05 18:56:23 +01:00
multiphaseInterFoam ENH: improve hashing overloads of string-types and HashTable/HashSet 2021-04-19 16:33:42 +00:00
potentialFreeSurfaceFoam GIT: Header file updates 2019-10-31 14:48:44 +00:00
reactingMultiphaseEulerFoam STYLE: use Time::printExecutionTime() method 2020-08-07 09:24:56 +02:00
reactingTwoPhaseEulerFoam ENH: avoid phaseSystem cyclic dependencies, reduce number of libraries 2020-08-05 18:56:23 +01:00
twoLiquidMixingFoam COMP: use -iquotedir for including the local '.' directory 2020-05-06 13:06:40 +02:00
twoPhaseEulerFoam ENH: avoid phaseSystem cyclic dependencies, reduce number of libraries 2020-08-05 18:56:23 +01:00
VoF ENH: unify use of dictionary method names 2020-06-02 17:26:03 +02:00
multiphaseSolversDoc.H GIT: Header file updates 2019-10-31 14:48:44 +00:00