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

Class SteadyConvergedLineAnalyzer

LogLineAnalyzer --+
                  |
                 SteadyConvergedLineAnalyzer


Checks whether a Steady-solver has converged

Convergence is assumed if all the linear solvers have their initial residual below their threshold
Method Summary
  __init__(self)
  doAnalysis(self, line)
Counts the number of linear solvers that have not converged
  goOn(self)
Converged
    Inherited from LogLineAnalyzer
  getTime(self)
Return current time
  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 linearRegExp = '^(.+):  Solving for (.+), Initial residu...

Method Details

doAnalysis(self, line)

Counts the number of linear solvers that have not converged
Overrides:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer.doAnalysis

goOn(self)

Converged
Returns:
False if converged
Overrides:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer.goOn

Class Variable Details

linearRegExp

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

Generated by Epydoc 2.1 on Tue Jan 17 17:06:22 2006 http://epydoc.sf.net