Package PyFoam :: Package Applications :: Module CommonRestart
[hide private]
[frames] | no frames]

Source Code for Module PyFoam.Applications.CommonRestart

 1  """ 
 2  Class that implements the common functionality for restarting cases 
 3  """ 
 4   
5 -class CommonRestart(object):
6 """ The class that restarts the case 7 """ 8
9 - def addOptions(self):
10 self.ensureGeneralOptions() 11 self.generalOpts.add_option("--restart", 12 action="store_true", 13 default=False, 14 dest="restart", 15 help="Restart the simulation from the last time-step")
16