Package PyFoam :: Package Execution :: Module StepAnalyzedRunner
[hide private]
[frames] | no frames]

Source Code for Module PyFoam.Execution.StepAnalyzedRunner

 1  #  ICE Revision: $Id: /local/openfoam/Python/PyFoam/PyFoam/Execution/StepAnalyzedRunner.py 5655 2009-09-28T18:16:31.683539Z bgschaid  $  
 2  """An Analyzed Runner that does something at every time-step""" 
 3   
 4  from BasicRunner import BasicRunner 
 5  from StepAnalyzedCommon import StepAnalyzedCommon 
 6   
7 -class StepAnalyzedRunner(StepAnalyzedCommon,BasicRunner):
8 """The output of a command is analyzed while being run. At every time-step a command is performed""" 9
10 - def __init__(self, 11 analyzer, 12 argv=None, 13 silent=False, 14 logname="PyFoamSolve", 15 smallestFreq=0., 16 server=False, 17 remark=None, 18 jobId=None):
19 """@param smallestFreq: the smallest intervall of real time (in seconds) that the time change is honored""" 20 BasicRunner.__init__(self, 21 argv, 22 silent, 23 logname, 24 server=server, 25 remark=remark, 26 jobId=jobId) 27 StepAnalyzedCommon.__init__(self, 28 logname, 29 analyzer, 30 smallestFreq=smallestFreq)
31