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

list of weak references to the object (if defined)

resetIt()[source]