StepCache

class cubie.integrators.algorithms.base_algorithm_step.StepCache(step_fn: Callable, nonlinear_solver_fn: Callable | None = None, threads_per_step: int = 0, n_error: int = 0, algorithm_order: int = 0, has_error_estimate: bool = False, is_implicit: bool = False, is_linear: bool = False, newton_solves_per_step: int = 0, step_operation_count: int = 0)[source]

Bases: CUDADispatcherCache

A step’s device functions with its sizes, order and flags.

algorithm_order: int
has_error_estimate: bool
is_implicit: bool
is_linear: bool
n_error: int
newton_solves_per_step: int
nonlinear_solver_fn: Callable | None
step_fn: Callable
step_operation_count: int
threads_per_step: int