PyFoam.Applications.CommonLibFunctionTrigger module

Implements a trigger that removes the libs and/or function entry from the controlDict

class PyFoam.Applications.CommonLibFunctionTrigger.CommonLibFunctionTrigger[source]

Bases: object

The class that does the actual triggering

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

list of weak references to the object (if defined)

addLibFunctionTrigger(run, sol)[source]
addOptions()[source]
class PyFoam.Applications.CommonLibFunctionTrigger.LibFunctionTrigger(sol, libs, funs)[source]

Bases: object

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

list of weak references to the object (if defined)

resetIt()[source]