mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: dedicated HashSetOps, HashTableOps namespaces
- relocated HashSetPlusEqOp and HashTablePlusEqOp to
HashSetOps::plusEqOp and HashTableOps::plusEqOp, respectively
- additional functions for converting between a labelHashSet
and a PackedBoolList or List<bool>:
From lists selections to labelHashSet indices:
HashSetOps::used(const PackedBoolList&);
HashSetOps::used(const UList<bool>&);
From labelHashSet to list forms:
PackedBoolList bitset(const labelHashSet&);
List<bool> bools(const labelHashSet&);
This commit is contained in:
@ -53,7 +53,7 @@ if (timeDirs.size() && !noLagrangian)
|
||||
|
||||
if (Pstream::parRun())
|
||||
{
|
||||
Pstream::combineGather(allCloudDirs, HashSetPlusEqOp<word>());
|
||||
Pstream::combineGather(allCloudDirs, HashSetOps::plusEqOp<word>());
|
||||
Pstream::combineScatter(allCloudDirs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user