mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user