PyFoam.Applications.CommonPlotLines module

Class that implements common functionality for collecting plot-lines

class PyFoam.Applications.CommonPlotLines.CommonPlotLines[source]

Bases: object

This class collects the lines that should be plotted

__dict__ = mappingproxy({'__weakref__': <attribute '__weakref__' of 'CommonPlotLines' objects>, '__init__': <function CommonPlotLines.__init__>, '__doc__': ' This class collects the lines that should be plotted\n ', '__module__': 'PyFoam.Applications.CommonPlotLines', 'addOptions': <function CommonPlotLines.addOptions>, 'addPlotLine': <function CommonPlotLines.addPlotLine>, 'plotLines': <function CommonPlotLines.plotLines>, 'processPlotLineOptions': <function CommonPlotLines.processPlotLineOptions>, '__dict__': <attribute '__dict__' of 'CommonPlotLines' objects>, 'addPlotLines': <function CommonPlotLines.addPlotLines>, 'addFileRegexps': <function CommonPlotLines.addFileRegexps>})
__init__()[source]
__module__ = 'PyFoam.Applications.CommonPlotLines'
__weakref__

list of weak references to the object (if defined)

addFileRegexps(fName)[source]

Adds the lines from a file to the custom regular expressions :param fName: The name of the file

addOptions()[source]
addPlotLine(line)[source]

Add a single line

addPlotLines(lines, name=None)[source]

Adds a list of lines

plotLines()[source]
processPlotLineOptions(autoPath=None)[source]

Process the options that have to do with plot-lines

PyFoam.Applications.CommonPlotLines.addRegexpExclude(option, opt, value, parser, *args, **kwargs)[source]
PyFoam.Applications.CommonPlotLines.addRegexpInclude(option, opt, value, parser, *args, **kwargs)[source]