PyFoam.Applications.CommonPrePostHooks module¶
Class that implements the common functionality for executing hooks before and after the running of the solver
-
class
PyFoam.Applications.CommonPrePostHooks.CommonPrePostHooks[source]¶ Bases:
objectThe class that runs the hooks
-
__dict__= mappingproxy({'stopExecutionOnHookError': <function CommonPrePostHooks.stopExecutionOnHookError>, '__weakref__': <attribute '__weakref__' of 'CommonPrePostHooks' objects>, 'prepareHooks': <function CommonPrePostHooks.prepareHooks>, '__dict__': <attribute '__dict__' of 'CommonPrePostHooks' objects>, 'executeHook': <function CommonPrePostHooks.executeHook>, 'addOptions': <function CommonPrePostHooks.addOptions>, '__doc__': ' The class that runs the hooks\n ', '__module__': 'PyFoam.Applications.CommonPrePostHooks', 'checkAndCreateHookInstances': <function CommonPrePostHooks.checkAndCreateHookInstances>, 'runPreHooks': <function CommonPrePostHooks.runPreHooks>, 'dumpHooks': <function CommonPrePostHooks.dumpHooks>, 'hookmessage': <function CommonPrePostHooks.hookmessage>, 'getHooksWithPrefix': <function CommonPrePostHooks.getHooksWithPrefix>, 'runPostHooks': <function CommonPrePostHooks.runPostHooks>})¶
-
__module__= 'PyFoam.Applications.CommonPrePostHooks'¶
-
__weakref__¶ list of weak references to the object (if defined)
-