COMP: randomDecomp - resolved compiler warnings

This commit is contained in:
Andrew Heather 2019-06-14 17:01:30 +01:00
parent 3937c8804d
commit ed10b19a2c
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ namespace Foam
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
Foam::labelList Foam::randomDecomp::decompose(const label nCells) const
Foam::labelList Foam::randomDecomp::randomMap(const label nCells) const
{
Random rndGen(0);
@ -93,7 +93,7 @@ Foam::labelList Foam::randomDecomp::decompose
const scalarField&
) const
{
return decompose(mesh.nCells()); // or cc.size()
return randomMap(mesh.nCells()); // or cc.size()
}
@ -104,7 +104,7 @@ Foam::labelList Foam::randomDecomp::decompose
const scalarField&
) const
{
return decompose(globalCellCells.size()); // or cc.size()
return randomMap(globalCellCells.size()); // or cc.size()
}

View File

@ -51,7 +51,7 @@ class randomDecomp
// Private Member Functions
//- Random distribution on the 0-nCells interval
labelList decompose(const label nCells) const;
labelList randomMap(const label nCells) const;
//- No copy construct
void operator=(const randomDecomp&) = delete;