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

Class StepAnalyzedRunner

       BasicRunner --+
                     |
AnalyzedCommon --+   |
                 |   |
StepAnalyzedCommon --+
                     |
                    StepAnalyzedRunner


The output of a command is analyzed while being run. At every time-step a command is performed
Method Summary
  __init__(self, analyzer, argv, silent, logname, smallestFreq, server)
    Inherited from StepAnalyzedCommon
  timeChanged(self)
React to a change of the simulation time in the log
  timeHandle(self)
Handler that reacts to the change of time.
    Inherited from AnalyzedCommon
  addAnalyzer(self, name, analyzer)
  getAnalyzer(self, name)
  getDirname(self)
Get the name of the directory where the data is written to
  getTime(self)
Get the execution time
  lineHandle(self, line)
Not to be called: calls the analyzer for the current line
  reset(self)
reset the analyzer
  tearDown(self)
    Inherited from BasicRunner
PyFoam.RunDictionary.SolutionDirectory getSolutionDirectory(self, archive)
Return the directory of the case
  logName(self)
Get the name of the logfiles
  runOK(self)
checks whether the run was successful
  start(self)
starts the command and stays with it till the end
  startHandle(self)
to be called before the program is started
  stopHandle(self)
called after the program has stopped

Method Details

__init__(self, analyzer, argv=None, silent=False, logname='PyFoamSolve', smallestFreq=0.0, server=False)
(Constructor)

Parameters:
smallestFreq - the smallest intervall of real time (in seconds) that the time change is honored
Overrides:
PyFoam.Execution.StepAnalyzedCommon.StepAnalyzedCommon.__init__

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net