mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use sortedToc() instead of toc() followed by sort()
This commit is contained in:
@ -720,12 +720,9 @@ bool Foam::polyMeshZipUpCells(polyMesh& mesh)
|
||||
if (problemCells.size())
|
||||
{
|
||||
// This cycle has failed. Print out the problem cells
|
||||
labelList toc(problemCells.toc());
|
||||
sort(toc);
|
||||
|
||||
FatalErrorInFunction
|
||||
<< "Found " << problemCells.size() << " problem cells." << nl
|
||||
<< "Cells: " << toc
|
||||
<< "Cells: " << problemCells.sortedToc()
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user