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

Class LinearSolverLineAnalyzer

LogLineAnalyzer --+    
                  |    
   FileLineAnalyzer --+
                      |
                     LinearSolverLineAnalyzer


Parses for information about the linear solver

Files of the form linear_<var> are written, where <var> is the variable for which the solver was used
Method Summary
  __init__(self)
  doAnalysis(self, line)
Analyze a line
    Inherited from FileLineAnalyzer
  setDirectory(self, oDir)
Creates the OutFileCollection-object
  setTitles(self, titles)
Sets the titles anews
    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
  setParent(self, parent)
Introduces the LineAnalyzer to its supervisor

Class Variable Summary
str linearRegExp = '^(.+):  Solving for (.+), Initial residu...

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

linearRegExp

Type:
str
Value:
'^(.+):  Solving for (.+), Initial residual = (.+), Final residual = (\
.+), No Iterations (.+)$'                                              

Generated by Epydoc 2.1 on Tue Jan 24 14:01:25 2006 http://epydoc.sf.net