mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use labelUList typedef instead of UList<label> or unallocLabelList
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -115,7 +115,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
const unallocLabelList& directAddressing() const
|
||||
const labelUList& directAddressing() const
|
||||
{
|
||||
return unallocLabelList::null();
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
const unallocLabelList& directAddressing() const
|
||||
const labelUList& directAddressing() const
|
||||
{
|
||||
return unallocLabelList::null();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user