mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: processorColour: unused code
This commit is contained in:
@ -163,7 +163,7 @@ Foam::label Foam::processorColour::colour
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< typeName << " : coloured " << Pstream::nProcs(mesh.comm())
|
Pout<< typeName << " : coloured " << Pstream::nProcs(mesh.comm())
|
||||||
<< " processors with in total " << nColours << " colours" << endl;
|
<< " processors with in total " << nColours << " colours" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,12 +202,7 @@ void Foam::processorColour::walkFront
|
|||||||
|
|
||||||
for (label facei=fStart; facei<fEnd; facei++)
|
for (label facei=fStart; facei<fEnd; facei++)
|
||||||
{
|
{
|
||||||
const label nbr =
|
const label nbr = uPtr[facei];
|
||||||
(
|
|
||||||
lPtr[facei] == celli
|
|
||||||
? uPtr[facei]
|
|
||||||
: lPtr[facei]
|
|
||||||
);
|
|
||||||
if (cellColour[nbr] == -1)
|
if (cellColour[nbr] == -1)
|
||||||
{
|
{
|
||||||
cellColour[nbr] = colouri;
|
cellColour[nbr] = colouri;
|
||||||
@ -222,12 +217,7 @@ void Foam::processorColour::walkFront
|
|||||||
for (label i=fStart; i<fEnd; i++)
|
for (label i=fStart; i<fEnd; i++)
|
||||||
{
|
{
|
||||||
label facei = losortAddrPtr[i];
|
label facei = losortAddrPtr[i];
|
||||||
const label nbr =
|
const label nbr = lPtr[facei];
|
||||||
(
|
|
||||||
lPtr[facei] == celli
|
|
||||||
? uPtr[facei]
|
|
||||||
: lPtr[facei]
|
|
||||||
);
|
|
||||||
if (cellColour[nbr] == -1)
|
if (cellColour[nbr] == -1)
|
||||||
{
|
{
|
||||||
cellColour[nbr] = colouri;
|
cellColour[nbr] = colouri;
|
||||||
@ -235,7 +225,6 @@ void Foam::processorColour::walkFront
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newFront.empty())
|
if (newFront.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user