pttools.speedup.options

Options for JIT-compilation and other speedups

Attributes

pttools.speedup.options.NUMBA_DISABLE_JIT: Final[bool] = False

Whether Numba JIT compilation has been disabled.

pttools.speedup.options.NUMBA_INTEGRATE: Final[bool] = False

Whether to use NumbaLSODA as the default ODE integrator.

pttools.speedup.options.NUMBA_INTEGRATE_TOLERANCES: Final[bool] = False

Whether to use looser tolerances, which are necessary for the unit tests to pass with NumbaLSODA.

pttools.speedup.options.NUMBA_NESTED_PARALLELISM: Final[bool] = False

Whether to use nested parallelism. This requires that either TBB or OpenMP is installed and working.

pttools.speedup.options.NUMBA_OPTS: Dict[str, any] = {}

Default options for the custom njit decorator.