PyFoam.Applications.CommonStandardOutput module

Class that implements the common functionality for treatment of the standard output

class PyFoam.Applications.CommonStandardOutput.CommonStandardOutput[source]

Bases: object

The class that defines options for standard output

__dict__ = dict_proxy({'__module__': 'PyFoam.Applications.CommonStandardOutput', 'addOptions': <function addOptions>, 'getRunParameters': <function getRunParameters>, '__dict__': <attribute '__dict__' of 'CommonStandardOutput' objects>, 'setLogname': <function setLogname>, '__weakref__': <attribute '__weakref__' of 'CommonStandardOutput' objects>, '__doc__': ' The class that defines options for standard output\n '})
__module__ = 'PyFoam.Applications.CommonStandardOutput'
__weakref__

list of weak references to the object (if defined)

addOptions(logname=None)[source]
getRunParameters()[source]

Return a dictionary with the parameters

setLogname(default='PyFoamRunner', useApplication=True, force=False)[source]

Builds a logfile-name :param default: Default value if no prefix for the logfile-has been defined :param useApplication: append the name of the application to the prefix