20 const word blockMeshDictName(
"blockMeshDict");
32 Info<<
"Not deleting polyMesh directory " 34 <<
" because it contains " << blockMeshDictName <<
endl;
38 Info<<
"Deleting polyMesh directory " constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::word regionName(Foam::polyMesh::defaultRegion)
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,.
const fileName polyMeshPath(runTime.path()/meshInstance/regionDir/polyMesh::meshSubDir)
messageStream Info
Information stream (stdout output on master, null elsewhere)