PyFoam.LogAnalysis.PhaseChangerLineAnalyzer module

Analyzes lines with regular expressions and changes the phase if it fits

class PyFoam.LogAnalysis.PhaseChangerLineAnalyzer.PhaseChangerLineAnalyzer(exp, idNr=None)[source]

Bases: PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer

Parses lines for an arbitrary regular expression and sets the phase if it fits

doAnalysis(line)[source]

Look for the pattern. If it matches set the phase name