20 const word blockMeshDictName(
"blockMeshDict");
31 Info<<
"Not deleting polyMesh directory " 33 <<
" because it contains " << blockMeshDictName <<
endl;
37 Info<<
"Deleting polyMesh directory " constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool exists(const fileName &name, const bool checkGzip=true, const bool followLink=true)
Does the name exist (as DIRECTORY or FILE) in the file system?
bool rmDir(const fileName &directory, const bool silent=false, const bool emptyOnly=false)
Remove a directory and its contents recursively,.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
const fileName polyMeshPath(runTime.path()/meshInstance/polyMesh::meshDir(regionName))
messageStream Info
Information stream (stdout output on master, null elsewhere)