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

list of weak references to the object (if defined)

resetIt()[source]