mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: lduPrimitiveMesh: renamed size to totalSize
This commit is contained in:
@ -122,7 +122,7 @@ void Foam::lduPrimitiveMesh::checkUpperTriangular
|
||||
}
|
||||
|
||||
|
||||
Foam::label Foam::lduPrimitiveMesh::size
|
||||
Foam::label Foam::lduPrimitiveMesh::totalSize
|
||||
(
|
||||
const PtrList<lduPrimitiveMesh>& meshes
|
||||
)
|
||||
@ -294,7 +294,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
|
||||
labelListListList& boundaryFaceMap
|
||||
)
|
||||
:
|
||||
lduAddressing(myMesh.lduAddr().size() + size(otherMeshes)),
|
||||
lduAddressing(myMesh.lduAddr().size() + totalSize(otherMeshes)),
|
||||
lowerAddr_(0),
|
||||
upperAddr_(0),
|
||||
interfaces_(0),
|
||||
|
||||
@ -76,7 +76,7 @@ class lduPrimitiveMesh
|
||||
// Private Member Functions
|
||||
|
||||
//- Get size of all meshes
|
||||
static label size(const PtrList<lduPrimitiveMesh>&);
|
||||
static label totalSize(const PtrList<lduPrimitiveMesh>&);
|
||||
|
||||
static labelList upperTriOrder
|
||||
(
|
||||
|
||||
@ -119,7 +119,8 @@ Foam::MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration
|
||||
new scalarField(meshLevels_[nCreatedLevels].size())
|
||||
);
|
||||
|
||||
restrictField(*aggVPtr, *VPtr, nCreatedLevels);
|
||||
// Restrict but no parallel agglomeration (not supported)
|
||||
restrictField(*aggVPtr, *VPtr, nCreatedLevels, false);
|
||||
|
||||
if (nCreatedLevels)
|
||||
{
|
||||
@ -157,7 +158,8 @@ Foam::MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration
|
||||
new scalarField(meshLevels_[nCreatedLevels].size())
|
||||
);
|
||||
|
||||
restrictField(*aggSbPtr, *SbPtr, nCreatedLevels);
|
||||
// Restrict but no parallel agglomeration (not supported)
|
||||
restrictField(*aggSbPtr, *SbPtr, nCreatedLevels, false);
|
||||
|
||||
delete SbPtr;
|
||||
SbPtr = aggSbPtr;
|
||||
|
||||
Reference in New Issue
Block a user