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
  timeChanged(self)
The value of the time has changed in the Log-file

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 Mon Jan 22 23:52:48 2007 http://epydoc.sf.net