ENH: checkMesh: output faceSet from faceFaces check (partially duplicate faces)

This commit is contained in:
mattijs
2011-10-25 10:25:17 +01:00
parent cffca9b802
commit cfc8d7a190

View File

@ -178,12 +178,14 @@ Foam::label Foam::checkTopology
if (mesh.checkFaceFaces(true, &faces))
{
noFailedChecks++;
}
label nFaces = returnReduce(faces.size(), sumOp<label>());
label nFaces = returnReduce(faces.size(), sumOp<label>());
if (nFaces > 0)
{
Info<< " <<Writing " << nFaces
<< " faces with incorrect edges to set " << faces.name()
<< endl;
<< " faces with non-standard edge connectivity to set "
<< faces.name() << endl;
faces.instance() = mesh.pointsInstance();
faces.write();
}