33 Foam::Map<Type> Foam::functionObjects::regionSizeDistribution::regionSum
44 label regionI = regions[celli];
47 if (fnd == regionToSum.end())
49 regionToSum.insert(regionI, fld[celli]);
57 Pstream::mapCombineScatter(regionToSum);
74 sortedData[i] = regionData[keys[i]];
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
#define forAll(list, i)
Loop across all elements in list.
An STL-conforming iterator.
Pre-declare SubField and related Field type.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label nRegions() const
Return total number of regions.
label size() const
Return the number of elements in the UList.
A HashTable to objects of type <T> with a label key.