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 baseCase is a copy defined by writeDir, only the writeDir will be removed.