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({'__weakref__': <attribute '__weakref__' of 'CommonWriteAllTrigger' objects>, 'addWriteAllTrigger': <function CommonWriteAllTrigger.addWriteAllTrigger>, '__module__': 'PyFoam.Applications.CommonWriteAllTrigger', '__dict__': <attribute '__dict__' of 'CommonWriteAllTrigger' objects>, 'addOptions': <function CommonWriteAllTrigger.addOptions>, '__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({'__init__': <function WriteAllTrigger.__init__>, '__weakref__': <attribute '__weakref__' of 'WriteAllTrigger' objects>, 'resetIt': <function WriteAllTrigger.resetIt>, '__module__': 'PyFoam.Applications.CommonWriteAllTrigger', '__dict__': <attribute '__dict__' of 'WriteAllTrigger' objects>, '__doc__': None})
__init__(sol, writeAll, purge, until)[source]
__module__ = 'PyFoam.Applications.CommonWriteAllTrigger'
__weakref__

list of weak references to the object (if defined)

resetIt()[source]