mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: checkMesh: output faceSet from faceFaces check (partially duplicate faces)
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user