BaseStepController
- class cubie.integrators.step_control.base_step_controller.BaseStepController[source]
Bases:
CUDAFactoryFactory interface for compiling CUDA step-size controllers.
- abstractmethod build() Callable[source]
Compile and return the CUDA device controller.
- Returns:
Device function implementing the controller policy.
- Return type:
Callable
- register_buffers() None[source]
Register controller buffers with the central buffer registry.
Registers the timestep_buffer using size from local_memory_elements and location from compile_settings.timestep_memory. Controllers with zero buffer requirements still register to maintain consistent interface.
- update(updates_dict: dict[str, object] | None = None, silent: bool = False, **kwargs: object) set[str][source]
Propagate configuration updates to the compiled controller.
- Parameters:
updates_dict – Dictionary of configuration values to update.
silent – When
Truesuppress warnings for recognised but unused controller parameters.**kwargs – Additional configuration key-value pairs to update.
- Returns:
Names of parameters that were applied successfully.
- Return type:
- Raises:
KeyError – Raised when an update references parameters that are not defined for any controller.