ODECache
- class cubie.odesystems.ODECache(dxdt_fn: Callable, observables_fn: Callable | None = None, helpers: SolverHelperCache = NOTHING, operation_counts: OperationCounts = NOTHING)[source]
Bases:
CUDADispatcherCacheCache the compiled base outputs and helper products of an ODE build.
- dxdt
Compiled right-hand-side device function.
- observables
Compiled observables device function.
- helpers
Memoized solver-helper factories and bound members for this build. A true compile-setting change produces a fresh
ODECacheand therefore a fresh member map.- Type:
cubie.odesystems.solver_helpers.SolverHelperCache
- operation_counts
Binary-operator counts of the
dxdtand observables sources.- Type:
cubie.odesystems.solver_helpers.OperationCounts
- helpers: SolverHelperCache
- operation_counts: OperationCounts