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,13 +396,17 @@ int main(int argc, char *argv[])
|
||||
problemFaces.append(faceI);
|
||||
}
|
||||
}
|
||||
OFstream str("badFaces");
|
||||
|
||||
Info<< "Dumping bad quality faces to " << str.name() << endl
|
||||
<< "Paste this into the input for surfaceSubset" << nl
|
||||
<< nl << endl;
|
||||
if (!problemFaces.empty())
|
||||
{
|
||||
OFstream str("badFaces");
|
||||
|
||||
str << problemFaces;
|
||||
Info<< "Dumping bad quality faces to " << str.name() << endl
|
||||
<< "Paste this into the input for surfaceSubset" << nl
|
||||
<< nl << endl;
|
||||
|
||||
str << problemFaces;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user