PyFoam.LogAnalysis.LinearSolverLineAnalyzer module

Analyze information from the linear solver

class PyFoam.LogAnalysis.LinearSolverLineAnalyzer.GeneralLinearSolverIterationsLineAnalyzer(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]

Bases: GeneralLinearSolverLineAnalyzer

Parses information about the linear solver and collects the iterations

__annotations__ = {}
__init__(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]
Parameters:
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.LinearSolverLineAnalyzer'
addToFiles(match)[source]

Method that adds matched data to files

Parameters:

match – data matched by a regular expression

addToTimelines(match)[source]

Method that adds matched data to timelines

Parameters:

match – data matched by a regular expression

getCurrentData(structured=False)[source]

Give back the current analyzed data in a dictionary

To be overwritten by subclasses

class PyFoam.LogAnalysis.LinearSolverLineAnalyzer.GeneralLinearSolverLineAnalyzer(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]

Bases: GeneralLineAnalyzer

Parses for information about the linear solver

Files of the form linear_<var> are written, where <var> is the variable for which the solver was used

__annotations__ = {}
__init__(doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)[source]
Parameters:
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.LinearSolverLineAnalyzer'
addToFiles(match)[source]

Method that adds matched data to files

Parameters:

match – data matched by a regular expression

addToTimelines(match)[source]

Method that adds matched data to timelines

Parameters:

match – data matched by a regular expression

getCurrentData(structured=False)[source]

Give back the current analyzed data in a dictionary

To be overwritten by subclasses

class PyFoam.LogAnalysis.LinearSolverLineAnalyzer.LinearSolverLineAnalyzer[source]

Bases: GeneralLinearSolverLineAnalyzer

Parses for information about the linear solver

Files of the form linear_<var> are written, where <var> is the variable for which the solver was used

__annotations__ = {}
__init__()[source]
Parameters:
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.LinearSolverLineAnalyzer'
class PyFoam.LogAnalysis.LinearSolverLineAnalyzer.TimeLineLinearIterationsSolverLineAnalyzer[source]

Bases: GeneralLinearSolverIterationsLineAnalyzer

Parses for information about the linear solver and collects the iterations in timelines

__annotations__ = {}
__init__()[source]
Parameters:
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.LinearSolverLineAnalyzer'
class PyFoam.LogAnalysis.LinearSolverLineAnalyzer.TimeLineLinearSolverLineAnalyzer[source]

Bases: GeneralLinearSolverLineAnalyzer

Parses for imformation about the linear solver and collects the residuals in timelines

__annotations__ = {}
__init__()[source]
Parameters:
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.LinearSolverLineAnalyzer'