1
2 """An Analyzed Runner that does something at every time-step"""
3
4 from .BasicRunner import BasicRunner
5 from .StepAnalyzedCommon import StepAnalyzedCommon
6
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 parameters=None,
19 jobId=None,
20 echoCommandLine=None):
21 """@param smallestFreq: the smallest intervall of real time (in seconds) that the time change is honored"""
22 BasicRunner.__init__(self,
23 argv,
24 silent,
25 logname,
26 server=server,
27 remark=remark,
28 parameters=parameters,
29 echoCommandLine=echoCommandLine,
30 jobId=jobId)
31 StepAnalyzedCommon.__init__(self,
32 logname,
33 analyzer,
34 smallestFreq=smallestFreq)
35
36
37