dolfin.jit

Functions

ffc_jit(ufl_object[, form_compiler_parameters])

mpi_jit_decorator(local_jit, *args, **kwargs)

A decorator for jit compilation

dolfin.jit.mpi_jit_decorator(local_jit, *args, **kwargs)[source]

A decorator for jit compilation

Use this function as a decorator to any jit compiler function. In a parallel run, this function will first call the jit compilation function on the first process. When this is done, and the module is in the cache, it will call the jit compiler on the remaining processes, which will then use the cached module.

Example
def jit_something(something):
    ....