ODEData

class cubie.odesystems.ODEData(precision: type[float16] | type[float32] | type[float64] | dtype[float16] | dtype[float32] | dtype[float64], operation_ordering: str = NOTHING, fn_hash: str = '', *, jit_flags: JITFlags = NOTHING, unroll: UnrollFlags = NOTHING)[source]

Bases: CUDAFactoryConfig

Compile settings of an ODE system.

precision

NumPy floating-point data type of the generated device functions.

Type:

type[numpy.float16] | type[numpy.float32] | type[numpy.float64] | numpy.dtype[numpy.float16] | numpy.dtype[numpy.float32] | numpy.dtype[numpy.float64]

operation_ordering

Ordering policy for the generated operations: "kahn", "greedy", "dfs" or "liveness_auto".

Type:

str

fn_hash

Hash of the values written into the generated source. BaseODE reads it from the specialiser on each update, so a new specialisation changes these settings.

Type:

str

fn_hash: str
operation_ordering: str