SystemSizes

class cubie.odesystems.SystemSizes(states: int, observables: int, parameters: int, constants: int, drivers: int)[source]

Bases: object

Store counts for each component category in an ODE system.

Parameters:
  • states (int) – Number of state variables in the system.

  • observables (int) – Number of observable variables in the system.

  • parameters (int) – Number of parameters in the system.

  • constants (int) – Number of constants in the system.

  • drivers (int) – Number of driver variables in the system.

Notes

This data class is passed to CUDA kernels so they can size device buffers and shared-memory structures correctly.

constants: int
drivers: int
observables: int
parameters: int
states: int