11 description="""
12 Removes all timesteps but the first from a case-directory.
13 Also removes other data that is generated by sovers/utilities/PyFoam
14 """
15 PyFoamApplication.__init__(self,description=description,usage="%prog <caseDirectory>",interspersed=True,nr=1)
16
18 self.parser.add_option("--after",
19 type="float",
20 dest="after",
21 default=None,
22 help="Only remove timesteps after this time")
23 self.parser.add_option("--no-processor",
24 action="store_false",
25 dest="processor",
26 default=True,
27 help="Keep the processor directories")
28 self.parser.add_option("--no-pyfoam",
29 action="store_false",
30 dest="pyfoam",
31 default=True,
32 help="Keep the PyFoam-specific directories and logfiles")
33