Go to the documentation of this file.
65 template<
class Key=word,
class HashType=Foam::Hash<Key>>
130 namespace HashTableOps
134 template<
class T,
class Key=word,
class HashType=Foam::Hash<Key>>
147 template<
class T,
class Key,
class Hash>
151 const bool doSort=
false
label size() const noexcept
The number of elements in table.
static Ostream & output(Ostream &os, const IntRange< T > &range)
Combine HashTable operation. Equivalent to 'a += b'.
List< bool > bools(const labelHashSet &locations)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
HashTable< T, Key, HashType > value_type
void operator()(value_type &a, const value_type &b) const
bitSet bitset(const labelHashSet &locations)
Transform the on locations to a bitSet.
A HashTable with keys but without contents that is similar to std::unordered_set.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Combine HashSet operation. Equivalent to 'a |= b'.
A HashTable similar to std::unordered_map.
forAllConstIters(mixture.phases(), phase)
void operator()(value_type &a, const value_type &b) const
HashSet< Key, HashType > value_type
labelHashSet used(const bitSet &select)
Convert a bitset to a labelHashSet of the indices used.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...