PyFoam.Applications.CommonSafeTrigger module

Implements a trigger that sets and resets ‘safer’ settings for Steady runs

class PyFoam.Applications.CommonSafeTrigger.CommonSafeTrigger[source]

Bases: object

The class that does the actual triggering

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

list of weak references to the object (if defined)

addOptions()[source]
addSafeTrigger(run, sol, steady=True)[source]
class PyFoam.Applications.CommonSafeTrigger.SafeTrigger(sol, factor)[source]

Bases: object

__dict__ = mappingproxy({'__weakref__': <attribute '__weakref__' of 'SafeTrigger' objects>, '__init__': <function SafeTrigger.__init__>, '__doc__': None, '__dict__': <attribute '__dict__' of 'SafeTrigger' objects>, '__module__': 'PyFoam.Applications.CommonSafeTrigger', 'resetIt': <function SafeTrigger.resetIt>})
__init__(sol, factor)[source]
__module__ = 'PyFoam.Applications.CommonSafeTrigger'
__weakref__

list of weak references to the object (if defined)

resetIt()[source]