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

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

__module__ = 'PyFoam.Applications.CommonSafeTrigger'
__weakref__

list of weak references to the object (if defined)

resetIt()[source]