PyFoam.Execution.UtilityRunner module
Run a non-solver utility
- class PyFoam.Execution.UtilityRunner.UtilityRunner(argv=None, silent=False, logname='PyFoamUtility', server=False, restart=False, compressLog=False, noLog=False, logTail=None, remark=None, parameters=None, lam=None, jobId=None, echoCommandLine=None)[source]
Bases:
AnalyzedRunnerTo this runner regular expressions can be added. Each line is checked against each regular expression and saved with the corresponding time.
Each RegEx has a name
For each pattern group in the RegEx one data value is stored
- __annotations__ = {}
- __init__(argv=None, silent=False, logname='PyFoamUtility', server=False, restart=False, compressLog=False, noLog=False, logTail=None, remark=None, parameters=None, lam=None, jobId=None, echoCommandLine=None)[source]
see BasicRunner
- __module__ = 'PyFoam.Execution.UtilityRunner'
- add(name, exp, idNr=None)[source]
adds a regular expression
name - name under whcih the RegExp is known exp - the regular expression idNr - number of the pattern group that is used to make a data set unique