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