Commit ed10b19a authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: randomDecomp - resolved compiler warnings

parent 3937c880
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment