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

Class ValueNameFinderLineAnalyzer

source code


Finds the names and notifies it's ValueLineAnalyzer

Instance Methods [hide private]
 
__init__(self, trigger, analyze, val, idNr=1, nr=1)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
callOnChange(self)
To be called if the name list changes
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from NameFinderLineAnalyzer.NameFinderLineAnalyzer
 
doActualAnalysis(self, line)
Called nr lines after the match
source code
    Inherited from ContextLineAnalyzer.ContextLineAnalyzer
 
callOnMatch(self, m)
Called if the line matches
source code
 
doAnalysis(self, line)
Analyze a line
source code
    Inherited from LogLineAnalyzer.LogLineAnalyzer
 
addListener(self, func) source code
 
getCurrentData(self)
Give back the current analyzed data in a dictionary
source code
 
getTime(self)
Returns: current time
source code
 
goOn(self)
If the analyzer thinks the simulation should be stopped (for instance because of convergence) it returns false
source code
 
notify(self, *data)
Notifys the event listeners of an event
source code
 
setDirectory(self, oDir)
Set the directory to which output is to be written (if any output is written)
source code
 
setParent(self, parent)
Introduces the LineAnalyzer to its supervisor
source code
 
tearDown(self)
Hook to let every analyzer give its stuff back when the analysis has ended
source code
 
timeChanged(self)
The value of the time has changed in the Log-file
source code
 
writeProgress(self, msg)
Let the parent write an additional progress message
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

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

callOnChange(self)

source code 

To be called if the name list changes

Overrides: NameFinderLineAnalyzer.NameFinderLineAnalyzer.callOnChange
(inherited documentation)