mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: more consistent use of labelUList and labelUIndList typedefs
This commit is contained in:
@ -412,7 +412,7 @@ void Foam::functionObjects::fluxSummary::initialiseCellZoneAndDirection
|
||||
|
||||
labelList cellAddr(mesh_.nCells(), -1);
|
||||
const labelList& cellIDs = mesh_.cellZones()[cellZonei];
|
||||
UIndirectList<label>(cellAddr, cellIDs) = identity(cellIDs.size());
|
||||
labelUIndList(cellAddr, cellIDs) = identity(cellIDs.size());
|
||||
labelList nbrFaceCellAddr(mesh_.nFaces() - nInternalFaces, -1);
|
||||
|
||||
forAll(pbm, patchi)
|
||||
|
||||
@ -229,8 +229,7 @@ class regionSizeDistribution
|
||||
|
||||
//- Get data in order
|
||||
template<class Type>
|
||||
List<Type> extractData(const UList<label>& keys, const Map<Type>&)
|
||||
const;
|
||||
List<Type> extractData(const labelUList& keys, const Map<Type>&) const;
|
||||
|
||||
void writeGraph
|
||||
(
|
||||
|
||||
@ -63,7 +63,7 @@ Foam::Map<Type> Foam::functionObjects::regionSizeDistribution::regionSum
|
||||
template<class Type>
|
||||
Foam::List<Type> Foam::functionObjects::regionSizeDistribution::extractData
|
||||
(
|
||||
const UList<label>& keys,
|
||||
const labelUList& keys,
|
||||
const Map<Type>& regionData
|
||||
) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user