STYLE: more consistent use of labelUList and labelUIndList typedefs

This commit is contained in:
Mark Olesen
2017-11-19 09:27:47 +01:00
parent a573e0e1aa
commit 7c1d8cb146
107 changed files with 277 additions and 292 deletions

View File

@ -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)

View File

@ -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
(

View File

@ -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
{