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

Class TimeLineAnalyzer

LogLineAnalyzer --+
                  |
                 TimeLineAnalyzer


Parses the line for the current time and makes it available to the parent analyzer (who makes it available to all of his children). This side-effect is important for all the other line-analyzers that need the time
Method Summary
  __init__(self)
  doAnalysis(self, line)
Analyze a line
    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

Class Variable Summary
str timeRegExp = '^Time = (.+)$'

Method Details

doAnalysis(self, line)

Analyze a line

line - the line to be analyzed

This method carries the main functionality in the sub-classes
Overrides:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer.doAnalysis (inherited documentation)

Class Variable Details

timeRegExp

Type:
str
Value:
'^Time = (.+)$'                                                        

Generated by Epydoc 2.1 on Mon Aug 15 20:51:53 2005 http://epydoc.sf.net