Remove all files and some subdirs (eg, sets)
| 411 | |
| 412 | // Remove all files and some subdirs (eg, sets) |
| 413 | void Foam::surfMesh::removeFiles(const fileName& instanceDir) const |
| 414 | { |
| 415 | fileName meshFilesPath = db().path()/instanceDir/meshSubDir; |
| 416 | |
| 417 | rm(meshFilesPath/"points"); |
| 418 | rm(meshFilesPath/"faces"); |
| 419 | rm(meshFilesPath/"surfZones"); |
| 420 | } |
| 421 | |
| 422 | void Foam::surfMesh::removeFiles() const |
| 423 | { |