def addOptions(self): CommonStandardOutput.addOptions(self,logname="RunAtMultipleTimes") CommonParallel.addOptions(self) CommonServer.addOptions(self) CommonSelectTimesteps.addOptions(self,defaultUnique=True) CommonReportUsage.addOptions(self) CommonReportRunnerData.addOptions(self)
def addOptions(self): CommonClearCase.addOptions(self) CommonRestart.addOptions(self) CommonReportUsage.addOptions(self) CommonReportRunnerData.addOptions(self) CommonStandardOutput.addOptions(self) CommonParallel.addOptions(self) CommonPlotLines.addOptions(self) CommonSafeTrigger.addOptions(self) CommonWriteAllTrigger.addOptions(self) CommonServer.addOptions(self) CommonVCSCommit.addOptions(self)
def addOptions(self): pot=OptionGroup(self.parser, "Solver settings", "Basic settings for the potentialFoam-solver") pot.add_option("--non-orthogonal-correctors", type="int", dest="noCorr", default=None, help="The number of non-orthogonal corrections") pot.add_option("--tolerance", type="float", dest="tolerance", default=None, help="Overwrite the tolerance of the linear solver") pot.add_option("--relTol", type="float", dest="relTol", default=None, help="Overwrite the relative tolerance of the linear solver") pot.add_option("--no-write-p", action="store_false", dest="writep", default=True, help="Don't write pressure p") pot.add_option("--pRefCell", type="int", dest="pRefCell", default=None, help="Sets the number of the reference cell for closed cases") pot.add_option("--pRefValue", type="int", dest="pRefValue", default=None, help="Sets the pressure reference value for closed cases") self.parser.add_option_group(pot) CommonParallel.addOptions(self) CommonStandardOutput.addOptions(self) CommonServer.addOptions(self,False) CommonVCSCommit.addOptions(self)
def addOptions(self): CommonClearCase.addOptions(self) CommonPlotOptions.addOptions(self) self.parser.add_option("--steady-run", action="store_true", default=False, dest="steady", help="This is a steady run. Stop it after convergence") CommonReportUsage.addOptions(self) CommonReportRunnerData.addOptions(self) CommonStandardOutput.addOptions(self) CommonParallel.addOptions(self) CommonRestart.addOptions(self) CommonPlotLines.addOptions(self) CommonSafeTrigger.addOptions(self) CommonWriteAllTrigger.addOptions(self) CommonLibFunctionTrigger.addOptions(self) CommonServer.addOptions(self) CommonVCSCommit.addOptions(self)
def addOptions(self): general=OptionGroup(self.parser, "Cluster General", "Stuff that is similar for all queueing implementations") general.add_option("--no-clear", action="store_false", default=True, dest="clear", help="Do not clear the Environment from OpenFOAM-specific variables") general.add_option("--restart", action="store_true", default=False, dest="restart", help="Treat the case as being restarted") self.parser.add_option_group(general) sge=OptionGroup(self.parser, "SGE", "Stuff that is specific to a SunGridEngine-environment") sge.add_option("--taskid", type="int", dest="taskid", default=None, help="The task-ID of a multitask job") sge.add_option("--job-id", type="int", dest="jobid", default=666, help="The job-ID") sge.add_option("--jobname", dest="jobname", default=None, help="The job-Name") self.parser.add_option_group(sge) CommonParallel.addOptions(self)