ENH: avoid blockMesh removal of files for special cases (issue #963)

- do not remove if the dictionary failed to load.
- do not remove if -blockTopology was used.
This commit is contained in:
Mark Olesen
2018-08-03 14:30:41 +02:00
parent 88e5334a9f
commit 319e09e32f
11 changed files with 409 additions and 366 deletions

View File

@ -28,8 +28,7 @@ Group
grpMeshConversionUtilities
Description
For mesh debugging: writes mesh as three separate OBJ files which can
be viewed with e.g. javaview.
For mesh debugging: writes mesh as three separate OBJ files.
meshPoints_XXX.obj : all points and edges as lines.
meshFaceCentres_XXX.obj : all face centres.
@ -61,6 +60,7 @@ void writeOBJ(const point& pt, Ostream& os)
os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl;
}
// All edges of mesh
void writePoints(const polyMesh& mesh, const fileName& timeName)
{