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

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'PyFoam.Applications.CommonWriteAllTrigger'
__weakref__

list of weak references to the object (if defined)

resetIt()[source]