PyFoam.Execution.AnalyzedCommon module¶
Common stuff for classes that use analyzers
-
class
PyFoam.Execution.AnalyzedCommon.
AnalyzedCommon
(filenames, analyzer, splitThres=2048, split_fraction_unchanged=0.2, doPickling=True)[source]¶ Bases:
object
This class collects information and methods that are needed for handling analyzers
-
addAnalyzer
(name, analyzer)[source]¶ Parameters: - name – name of the LineAnalyzer to add
- analyzer – the analyzer to add
-
addCustomExpressions
(customRegexp, persist=None, quiet=False, start=None, end=None, raiseit=False, writeFiles=False, splitThres=2048, split_fraction_unchanged=0.2, gnuplotTerminal=None, plottingImplementation='dummy')[source]¶
-
addTrigger
(time, func, once=True, until=None)[source]¶ Adds a timed trigger to the Analyzer :param time: the time at which the function should be triggered :param func: the trigger function :param once: Should this function be called once or at every time-step :param until: The time until which the trigger should be called
-
createPlots
(persist=None, quiet=False, raiseit=False, splitThres=2048, split_fraction_unchanged=0.2, plotLinear=True, plotCont=True, plotBound=True, plotIterations=True, plotCourant=True, plotExecution=True, plotDeltaT=True, start=None, end=None, writeFiles=False, customRegexp=None, gnuplotTerminal=None, plottingImplementation='dummy')[source]¶
-