Package PyFoam :: Package LogAnalysis :: Module SimpleLineAnalyzer :: Class TimeLineSimpleLineAnalyzer
[show private | hide private]
[frames | no frames]

Class TimeLineSimpleLineAnalyzer

 LogLineAnalyzer --+    
                   |    
TimeLineLineAnalyzer --+
                       |
                      TimeLineSimpleLineAnalyzer


Parses lines for an arbitrary regular expression
Method Summary
  __init__(self, name, exp, idList, titles)
  doAnalysis(self, line)
Analyzes line and writes the data
    Inherited from TimeLineLineAnalyzer
  getTimeline(self, name)
Return the timeline as two list: the times and the values
  timeChanged(self)
Sets the current time in the timelines
    Inherited from LogLineAnalyzer
  getTime(self)
Return current time
  goOn(self)
If the analyzer thinks the simulation should be stopped (for instance because of convergence) it returns false
  setDirectory(self, oDir)
Set the directory to which output is to be written (if any output is written)
  setParent(self, parent)
Introduces the LineAnalyzer to its supervisor

Method Details

__init__(self, name, exp, idList=None, titles=[])
(Constructor)

Parameters:
name - name of the expression (needed for output)
exp - the regular expression
titles - titles for the data items
Overrides:
PyFoam.LogAnalysis.TimeLineLineAnalyzer.TimeLineLineAnalyzer.__init__

doAnalysis(self, line)

Analyzes line and writes the data
Overrides:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer.doAnalysis

Generated by Epydoc 2.1 on Wed Apr 5 18:32:44 2006 http://epydoc.sf.net