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 """@param smallestFreq: the smallest intervall of real time (in seconds) that the time change is honored"""
21 BasicRunner.__init__(self,
22 argv,
23 silent,
24 logname,
25 server=server,
26 remark=remark,
27 parameters=parameters,
28 jobId=jobId)
29 StepAnalyzedCommon.__init__(self,
30 logname,
31 analyzer,
32 smallestFreq=smallestFreq)
33
34
35