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

x.__init__(…) initializes x; see help(type(x)) for signature

__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]