FixedStepControlConfig
- class cubie.integrators.step_control.fixed_step_controller.FixedStepControlConfig(precision: type[float16] | type[float32] | type[float64] | dtype[float16] | dtype[float32] | dtype[float64], n_states: int = 1, mass_flags: Iterable | None = None, timestep_memory_location: str = 'local', atol: float | ArrayLike = array([1.e-06]), rtol: float | ArrayLike = array([1.e-06]), dt: float = 0.001, *, jit_flags: JITFlags = NOTHING, unroll: UnrollFlags = NOTHING)[source]
Bases:
BaseStepControllerConfigConfiguration for fixed-step integrator loops.
- precision
Precision used for numerical operations.
- Type:
type[numpy.float16] | type[numpy.float32] | type[numpy.float64] | numpy.dtype[numpy.float16] | numpy.dtype[numpy.float32] | numpy.dtype[numpy.float64]
- atol
Absolute tolerance vector inherited from the base config. The fixed controller never rejects steps, but implicit algorithms derive their inner-solver tolerances from it.
- Type:
- rtol
Relative tolerance vector, on the same terms as
atol.- Type: