Package PyFoam :: Package Execution :: Module AnalyzedRunner :: Class AnalyzedRunner
[hide private]
[frames] | no frames]

Class AnalyzedRunner

source code

                       object --+        
                                |        
    AnalyzedCommon.AnalyzedCommon --+    
                                    |    
StepAnalyzedCommon.StepAnalyzedCommon --+
                                        |
                           object --+   |
                                    |   |
              BasicRunner.BasicRunner --+
                                        |
                                       AnalyzedRunner

The output of a command is analyzed while being run

Side effects (files written etc) depend on the analyzer

Instance Methods [hide private]
 
__init__(self, analyzer, argv=None, silent=False, logname="PyFoamSolve", server=False, lam=None, compressLog=False, restart=False, noLog=False, remark=None, jobId=None, smallestFreq=60.)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
lineHandle(self, line)
Not to be called: calls the analyzer for the current line
source code
 
lastTime(self) source code
 
firstCpuTime(self) source code
 
firstClockTime(self) source code
 
totalCpuTime(self) source code
 
totalClockTime(self) source code
 
stopHandle(self)
called after the program has stopped
source code

Inherited from StepAnalyzedCommon.StepAnalyzedCommon: timeChanged, timeHandle

Inherited from AnalyzedCommon.AnalyzedCommon: addAnalyzer, addTrigger, createPlots, getAnalyzer, getDirname, getTime, hasAnalyzer, listAnalyzers, picklePlots, reset, tearDown

Inherited from BasicRunner.BasicRunner: addEndTrigger, getSolutionDirectory, logName, runOK, start, startHandle, stopGracefully, writeResults

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, analyzer, argv=None, silent=False, logname="PyFoamSolve", server=False, lam=None, compressLog=False, restart=False, noLog=False, remark=None, jobId=None, smallestFreq=60.)
(Constructor)

source code 

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

Parameters:
  • analyzer - the analyzer for the output argv, silent, logname, server, lam, noLog - see BasicRunner
Overrides: object.__init__

lineHandle(self, line)

source code 

Not to be called: calls the analyzer for the current line

Overrides: BasicRunner.BasicRunner.lineHandle

stopHandle(self)

source code 

called after the program has stopped

Overrides: BasicRunner.BasicRunner.stopHandle
(inherited documentation)