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

Source Code for Module PyFoam.Execution.StepAnalyzedWatcher

 1  #  ICE Revision: $Id: /local/openfoam/Python/PyFoam/PyFoam/Execution/StepAnalyzedWatcher.py 1906 2007-08-28T16:16:19.392553Z bgschaid  $  
 2  """An Analyzed Runner that does something at every time-step""" 
 3   
 4  from BasicWatcher import BasicWatcher 
 5  from StepAnalyzedCommon import StepAnalyzedCommon 
 6   
7 -class StepAnalyzedWatcher(StepAnalyzedCommon,BasicWatcher):
8 """The output of a command is analyzed while being run. At every time-step a command is performed""" 9
10 - def __init__(self,filename,analyzer,silent=False,smallestFreq=0.,tailLength=1000,sleep=0.1):
11 """@param smallestFreq: the smallest intervall of real time (in seconds) that the time change is honored""" 12 BasicWatcher.__init__(self,filename,silent=silent,tailLength=tailLength,sleep=sleep) 13 StepAnalyzedCommon.__init__(self,filename,analyzer,smallestFreq=smallestFreq)
14