mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: reduced verbosity when decomposing/reconstructing empty meshes
- only warn about missing cells/points if the mesh is also missing boundary patches. - reduce verbosity when decomposing to an empty mesh - skip face matching when either mesh has no faces
This commit is contained in:
@ -831,11 +831,18 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets)
|
||||
|
||||
|
||||
// Statistics
|
||||
Info<< nl << "Processor " << proci;
|
||||
|
||||
Info<< endl
|
||||
<< "Processor " << proci << nl
|
||||
<< " Number of cells = " << procMesh.nCells()
|
||||
<< endl;
|
||||
if (procMesh.nCells())
|
||||
{
|
||||
Info<< nl << " ";
|
||||
}
|
||||
else
|
||||
{
|
||||
Info<< ": ";
|
||||
}
|
||||
|
||||
Info<< "Number of cells = " << procMesh.nCells() << nl;
|
||||
|
||||
maxProcCells = max(maxProcCells, procMesh.nCells());
|
||||
|
||||
@ -865,9 +872,12 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets)
|
||||
}
|
||||
}
|
||||
|
||||
Info<< " Number of processor patches = " << nProcPatches << nl
|
||||
<< " Number of processor faces = " << nProcFaces << nl
|
||||
<< " Number of boundary faces = " << nBoundaryFaces << endl;
|
||||
if (procMesh.nCells() && (nBoundaryFaces || nProcFaces))
|
||||
{
|
||||
Info<< " Number of processor patches = " << nProcPatches << nl
|
||||
<< " Number of processor faces = " << nProcFaces << nl
|
||||
<< " Number of boundary faces = " << nBoundaryFaces << nl;
|
||||
}
|
||||
|
||||
totProcFaces += nProcFaces;
|
||||
totProcPatches += nProcPatches;
|
||||
|
||||
Reference in New Issue
Block a user