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

Class ValueNameFinderLineAnalyzer

LogLineAnalyzer --+        
                  |        
ContextLineAnalyzer --+    
                      |    
 NameFinderLineAnalyzer --+
                          |
                         ValueNameFinderLineAnalyzer


Finds the names and notifies it's ValueLineAnalyzer
Method Summary
  __init__(self, trigger, analyze, val, idNr, nr)
  callOnChange(self)
To be called if the name list changes
    Inherited from NameFinderLineAnalyzer
  doActualAnalysis(self, line)
Called nr lines after the match
    Inherited from ContextLineAnalyzer
  callOnMatch(self, m)
Called if the line matches
  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
  timeChanged(self)
The value of the time has changed in the Log-file

Method Details

__init__(self, trigger, analyze, val, idNr=1, nr=1)
(Constructor)

Parameters:
trigger - The regular expression that has to match before data is collected
analyze - The regular expression that is used for analysis
val - The ValueLineAnalyzer that needs the names
idNr - The id of the group that is used for analysis
nr - The number of lines after the match that data is collected
Overrides:
PyFoam.LogAnalysis.NameFinderLineAnalyzer.NameFinderLineAnalyzer.__init__

callOnChange(self)

To be called if the name list changes
Overrides:
PyFoam.LogAnalysis.NameFinderLineAnalyzer.NameFinderLineAnalyzer.callOnChange (inherited documentation)

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