mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Don't write badFaces when there are none.
This commit is contained in:
@ -396,6 +396,9 @@ int main(int argc, char *argv[])
|
||||
problemFaces.append(faceI);
|
||||
}
|
||||
}
|
||||
|
||||
if (!problemFaces.empty())
|
||||
{
|
||||
OFstream str("badFaces");
|
||||
|
||||
Info<< "Dumping bad quality faces to " << str.name() << endl
|
||||
@ -405,6 +408,7 @@ int main(int argc, char *argv[])
|
||||
str << problemFaces;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user