ODE systems =========== ``cubie.odesystems`` -------------------- .. currentmodule:: cubie.odesystems .. toctree:: :hidden: :maxdepth: 1 :titlesonly: create_ode_system symbolic_ode base_ode ode_data variables layout system_sizes ode_cache The :func:`create_ODE_system` helper is the main entry point. It consumes symbolic :mod:`sympy` equations and creates :class:`SymbolicODE` instances that inherit CUDA compilation behaviour from :class:`cubie.CUDAFactory`. :class:`BaseODE` sets the abstract requirements, and ``SymbolicODE`` is currently its concrete implementation. Base classes and data containers expose the precision-aware metadata required by integrator factories. .. toctree:: :maxdepth: 2 :caption: Subpackages :titlesonly: symbolic Core API -------- * :doc:`create_ODE_system ` – builds :class:`SymbolicODE` instances from SymPy expressions. * :doc:`SymbolicODE ` – concrete :class:`BaseODE` subclass for symbolic systems. * :doc:`BaseODE ` – abstract base exposing CUDA compilation helpers. Data containers and caches -------------------------- * :doc:`ODEData ` – captures compile-time metadata such as precision and state sizes. * :doc:`Variables ` – the states, parameters and observables a system declares, with their default values, and the parameters a batch compiles into the code as numbers. * :doc:`SystemLayout ` – the variables in each solver argument (initial values, parameters) and the ones which get compiled into the code as numbers. * :doc:`SystemSizes ` – records shape information for state and observable vectors. * :doc:`ODECache ` – caches compiled device functions and solver helpers. Dependencies ------------ - :class:`SymbolicODE` subclasses :class:`cubie.CUDAFactory` so integrator loops can request compiled CUDA device functions directly. - Precision handling relies on :mod:`cubie._utils` helpers. - Generated kernels are consumed by :mod:`cubie.integrators` factories during loop construction.