Model.numba_jitify#

Model.numba_jitify(parallel=False, cache=True, nopython=False)[source]#

Convert equation residual calls, Jacobian calls, and variable service calls into JIT compiled functions.

This function can be turned on by setting System.config.numba to 1.

Warning

This feature is experimental and does not guarantee a speed up. In fact, the program will likely end up being slower due to compilation.