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, ABC

Configuration 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:

int

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 True when the controller adapts its step size.

n: int
abstract property settings_dict: dict[str, object]

Return a dictionary of configuration settings.

timestep_memory_location: str