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

Source Code for Module PyFoam.Execution.StepAnalyzedRunner

 1  """An Analyzed Runner that does something at every time-step""" 
 2   
 3  from BasicRunner import BasicRunner 
 4  from StepAnalyzedCommon import StepAnalyzedCommon 
 5   
 6  from time import time 
 7   
8 -class StepAnalyzedRunner(StepAnalyzedCommon,BasicRunner):
9 """The output of a command is analyzed while being run. At every time-step a command is performed""" 10
11 - def __init__(self,analyzer,argv=None,silent=False,logname="PyFoamSolve",smallestFreq=0.,server=False):
12 """@param smallestFreq: the smallest intervall of real time (in seconds) that the time change is honored""" 13 BasicRunner.__init__(self,argv,silent,logname,server=server) 14 StepAnalyzedCommon.__init__(self,logname,analyzer,smallestFreq=smallestFreq)
15