PyFoam.Applications.CommonWriteAllTrigger module

Implements a trigger that manipulates the controlDict in such a way that every time-step is written to disk

class PyFoam.Applications.CommonWriteAllTrigger.CommonWriteAllTrigger[source]

Bases: object

The class that does the actual triggering

__dict__ = mappingproxy({'addWriteAllTrigger': <function CommonWriteAllTrigger.addWriteAllTrigger>, 'addOptions': <function CommonWriteAllTrigger.addOptions>, '__module__': 'PyFoam.Applications.CommonWriteAllTrigger', '__dict__': <attribute '__dict__' of 'CommonWriteAllTrigger' objects>, '__weakref__': <attribute '__weakref__' of 'CommonWriteAllTrigger' objects>, '__doc__': ' The class that does the actual triggering\n '})
__module__ = 'PyFoam.Applications.CommonWriteAllTrigger'
__weakref__

list of weak references to the object (if defined)

addOptions()[source]
addWriteAllTrigger(run, sol)[source]
class PyFoam.Applications.CommonWriteAllTrigger.WriteAllTrigger(sol, writeAll, purge, until)[source]

Bases: object

__dict__ = mappingproxy({'resetIt': <function WriteAllTrigger.resetIt>, '__init__': <function WriteAllTrigger.__init__>, '__module__': 'PyFoam.Applications.CommonWriteAllTrigger', '__doc__': None, '__weakref__': <attribute '__weakref__' of 'WriteAllTrigger' objects>, '__dict__': <attribute '__dict__' of 'WriteAllTrigger' objects>})
__init__(sol, writeAll, purge, until)[source]
__module__ = 'PyFoam.Applications.CommonWriteAllTrigger'
__weakref__

list of weak references to the object (if defined)

resetIt()[source]