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

Class SteadyConvergedLineAnalyzer

source code

                     object --+    
                              |    
LogLineAnalyzer.LogLineAnalyzer --+
                                  |
                                 SteadyConvergedLineAnalyzer

Checks whether a Steady-solver has converged

Convergence is assumed if all the linear solvers have their initial residual below their threshold

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
doAnalysis(self, line)
Counts the number of linear solvers that have not converged
source code
 
goOn(self)
Converged
source code

Inherited from LogLineAnalyzer.LogLineAnalyzer: addListener, getTime, notify, setDirectory, setParent, tearDown, timeChanged

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

Class Variables [hide private]
  linearRegExp = "^(.+): Solving for (.+), Initial residual = (...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

doAnalysis(self, line)

source code 

Counts the number of linear solvers that have not converged

Overrides: LogLineAnalyzer.LogLineAnalyzer.doAnalysis

goOn(self)

source code 

Converged

Returns:
False if converged
Overrides: LogLineAnalyzer.LogLineAnalyzer.goOn

Class Variable Details [hide private]

linearRegExp

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