STYLE: use labelUList typedef instead of UList<label> or unallocLabelList

This commit is contained in:
Mark Olesen
2010-11-02 09:32:32 +01:00
parent 0b6b6ce184
commit d5acd22a63
214 changed files with 536 additions and 536 deletions

View File

@ -238,8 +238,8 @@ Foam::label Foam::decompositionMethod::masterFace
// pbm[patchI]
// );
//
// const unallocLabelList& faceCells = cycPatch.faceCells();
// const unallocLabelList& nbrCells =
// const labelUList& faceCells = cycPatch.faceCells();
// const labelUList& nbrCells =
// cycPatch.neighbPatch().faceCells();
//
// forAll(faceCells, facei)
@ -308,8 +308,8 @@ Foam::label Foam::decompositionMethod::masterFace
// pbm[patchI]
// );
//
// const unallocLabelList& faceCells = cycPatch.faceCells();
// const unallocLabelList& nbrCells =
// const labelUList& faceCells = cycPatch.faceCells();
// const labelUList& nbrCells =
// cycPatch.neighbPatch().faceCells();
//
// forAll(faceCells, facei)

View File

@ -95,7 +95,7 @@ Foam::labelList Foam::structuredDecomp::decompose
labelHashSet patchCells(2*nFaces);
forAll(patchIDs, i)
{
const unallocLabelList& fc = pbm[patchIDs[i]].faceCells();
const labelUList& fc = pbm[patchIDs[i]].faceCells();
forAll(fc, i)
{
patchCells.insert(fc[i]);
@ -131,7 +131,7 @@ Foam::labelList Foam::structuredDecomp::decompose
forAll(patchIDs, i)
{
const polyPatch& pp = pbm[patchIDs[i]];
const unallocLabelList& fc = pp.faceCells();
const labelUList& fc = pp.faceCells();
forAll(fc, i)
{
patchFaces[nFaces] = pp.start()+i;

View File

@ -115,7 +115,7 @@ public:
return true;
}
const unallocLabelList& directAddressing() const
const labelUList& directAddressing() const
{
return unallocLabelList::null();
}

View File

@ -112,7 +112,7 @@ public:
return true;
}
const unallocLabelList& directAddressing() const
const labelUList& directAddressing() const
{
return unallocLabelList::null();
}