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)) if (mesh.checkFaceFaces(true, &faces))
{ {
noFailedChecks++; noFailedChecks++;
}
label nFaces = returnReduce(faces.size(), sumOp<label>()); label nFaces = returnReduce(faces.size(), sumOp<label>());
if (nFaces > 0)
{
Info<< " <<Writing " << nFaces Info<< " <<Writing " << nFaces
<< " faces with incorrect edges to set " << faces.name() << " faces with non-standard edge connectivity to set "
<< endl; << faces.name() << endl;
faces.instance() = mesh.pointsInstance(); faces.instance() = mesh.pointsInstance();
faces.write(); faces.write();
} }