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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label nRegions() const
Return total number of regions.
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 size() const
Return the number of elements in the UList.
A HashTable to objects of type <T> with a label key.