mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: snappyHexMesh: make output on master processor
This commit is contained in:
@ -112,8 +112,6 @@ const
|
|||||||
|
|
||||||
if (localCellI != -1)
|
if (localCellI != -1)
|
||||||
{
|
{
|
||||||
Pout<< "Found point " << keepPoint << " in cell " << localCellI
|
|
||||||
<< " on processor " << Pstream::myProcNo() << endl;
|
|
||||||
globalCellI = globalCells.toGlobal(localCellI);
|
globalCellI = globalCells.toGlobal(localCellI);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,6 +128,14 @@ const
|
|||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
label procI = globalCells.whichProcID(globalCellI);
|
||||||
|
label procCellI = globalCells.toLocal(procI, globalCellI);
|
||||||
|
|
||||||
|
Info<< "Found point " << keepPoint << " in cell " << procCellI
|
||||||
|
<< " on processor " << procI << endl;
|
||||||
|
|
||||||
|
|
||||||
if (globalCells.isLocal(globalCellI))
|
if (globalCells.isLocal(globalCellI))
|
||||||
{
|
{
|
||||||
cellLabels[i] = localCellI;
|
cellLabels[i] = localCellI;
|
||||||
|
|||||||
Reference in New Issue
Block a user