PyFoam.Basics.ProgressOutput module

Output of progress

class PyFoam.Basics.ProgressOutput.ProgressOutput(oFile=None)[source]

Bases: object

This class generates output for recording the progress

__call__(msg)[source]

Add to the progress message :param msg: the text to add

__dict__ = dict_proxy({'reset': <function reset>, '__dict__': <attribute '__dict__' of 'ProgressOutput' objects>, '__module__': 'PyFoam.Basics.ProgressOutput', '__call__': <function __call__>, '__weakref__': <attribute '__weakref__' of 'ProgressOutput' objects>, 'lastProgress': <function lastProgress>, '__init__': <function __init__>, '__doc__': 'This class generates output for recording the progress'})
__init__(oFile=None)[source]
Parameters:oFile – file-type object that gets the progress output
__module__ = 'PyFoam.Basics.ProgressOutput'
__weakref__

list of weak references to the object (if defined)

lastProgress()[source]
reset()[source]

reset for the next time