| 1210 | |
| 1211 | |
| 1212 | void Foam::polyMesh::removeFiles(const fileName& instanceDir) const |
| 1213 | { |
| 1214 | fileName meshFilesPath = thisDb().time().path()/instanceDir/meshDir(); |
| 1215 | |
| 1216 | rm(meshFilesPath/"points"); |
| 1217 | rm(meshFilesPath/"faces"); |
| 1218 | rm(meshFilesPath/"owner"); |
| 1219 | rm(meshFilesPath/"neighbour"); |
| 1220 | rm(meshFilesPath/"cells"); |
| 1221 | rm(meshFilesPath/"boundary"); |
| 1222 | rm(meshFilesPath/"pointZones"); |
| 1223 | rm(meshFilesPath/"faceZones"); |
| 1224 | rm(meshFilesPath/"cellZones"); |
| 1225 | rm(meshFilesPath/"meshModifiers"); |
| 1226 | rm(meshFilesPath/"parallelData"); |
| 1227 | |
| 1228 | // remove subdirectories |
| 1229 | if (isDir(meshFilesPath/"sets")) |
| 1230 | { |
| 1231 | rmDir(meshFilesPath/"sets"); |
| 1232 | } |
| 1233 | } |
| 1234 | |
| 1235 | |
| 1236 | void Foam::polyMesh::removeFiles() const |
no test coverage detected