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

Class GnuplotWatcher

          BasicWatcher --+
                         |
AnalyzedCommon --+       |
                 |       |
StepAnalyzedCommon --+   |
                     |   |
         GnuplotCommon --+
                         |
                        GnuplotWatcher


Method Summary
  __init__(self, logfile, smallestFreq, persist, silent, tailLength, sleep, plotLinear, plotCont, plotBound, plotIterations, plotCourant, plotExecution, plotDeltaT, customRegexp, writeFiles)
  startHandle(self)
to be called before the program is started
  tailingHandle(self)
called when the first line is output
    Inherited from GnuplotCommon
  stopHandle(self)
  timeHandle(self)
Handler that reacts to the change of time.
    Inherited from StepAnalyzedCommon
  timeChanged(self)
React to a change of the simulation time in the log
    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 BasicWatcher
  getSize(self)
Return the current size (in bytes) of the file
  start(self)
Reads the file and does the processing

Method Details

__init__(self, logfile, smallestFreq=0.0, persist=None, silent=False, tailLength=1000, sleep=0.10000000000000001, plotLinear=True, plotCont=True, plotBound=True, plotIterations=False, plotCourant=False, plotExecution=False, plotDeltaT=False, customRegexp=None, writeFiles=False)
(Constructor)

Parameters:
smallestFreq - smallest Frequency of output
persist - Gnuplot window persistst after run
Overrides:
PyFoam.Execution.GnuplotRunner.GnuplotCommon.__init__

startHandle(self)

to be called before the program is started
Overrides:
PyFoam.Execution.BasicWatcher.BasicWatcher.startHandle (inherited documentation)

tailingHandle(self)

called when the first line is output
Overrides:
PyFoam.Execution.BasicWatcher.BasicWatcher.tailingHandle (inherited documentation)

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