casefoam.utility.mkRmCases¶
-
casefoam.utility.mkRmCases(baseCase, cases, isWriteDir=False)[source]¶ Make case remove file.
Generates a bash script ‘rmCases’ to remove all cases and bring folder to original structure.
Parameters: - baseCase : string
Path to the baseCase directory.
- cases : list
List of parent, child and grandchild names.
- isWriteDir : bool
If
baseCaseis a copy defined bywriteDir, only thewriteDirwill be removed.