COMP: randomDecomp - resolved compiler warnings
This commit is contained in:
parent
3937c8804d
commit
ed10b19a2c
@ -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()
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user