BaseStepControllerConfig
- class cubie.integrators.step_control.base_step_controller.BaseStepControllerConfig(precision: type[float16] | type[float32] | type[float64] | dtype[float16] | dtype[float32] | dtype[float64], n: int = 1, timestep_memory_location: str = 'local')[source]
Bases:
CUDAFactoryConfig,ABCConfiguration interface for step-size controllers.
- precision
Precision used for controller calculations.
- Type:
type[numpy.float16] | type[numpy.float32] | type[numpy.float64] | numpy.dtype[numpy.float16] | numpy.dtype[numpy.float32] | numpy.dtype[numpy.float64]
- n
Number of state variables controlled per step.
- Type:
- abstract property dt0: float
Return the initial step size used when integration starts.
- abstract property dt_max: float
Return the maximum supported step size.
- abstract property dt_min: float
Return the minimum supported step size.
- abstract property is_adaptive: bool
Return
Truewhen the controller adapts its step size.
- n: int
- timestep_memory_location: str