mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use globalIndex localSize(), totalSize() in more places
- more explicit meaning than offset(), size() - respectively.
This commit is contained in:
@ -116,7 +116,7 @@ void Foam::faMeshReconstructor::calcAddressing
|
||||
{
|
||||
// Determine the respective local portions of the global ordering
|
||||
|
||||
labelList procTargets(globalFaceNum.size());
|
||||
labelList procTargets(globalFaceNum.totalSize());
|
||||
|
||||
for (const label proci : Pstream::allProcs())
|
||||
{
|
||||
@ -128,7 +128,7 @@ void Foam::faMeshReconstructor::calcAddressing
|
||||
}
|
||||
|
||||
labelList procStarts(globalFaceNum.offsets());
|
||||
labelList procOrders(globalFaceNum.size());
|
||||
labelList procOrders(globalFaceNum.totalSize());
|
||||
|
||||
for (const label globali : globalOrder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user