New pre-print on automated adjoints of coupled ODE-PDE systems

Our preprint on Automated adjoints of coupled ODE-PDE systems is now available on arXiv! Mathematical models that couple partial differential equations (PDEs) and spatially distributed ordinary differential equations (ODEs) arise in biology, medicine, chemistry and many other fields. In this paper we present extension to the FEniCS and dolfin-adjoint softwares for expressing and efficiently solving such coupled systems. Given an ODE described using an augmentation of the Unified Form Language (UFL) and a discretisation described by an arbitrary Butcher tableau, efficient code is automatically generated for the parallel solution of the ODE. The high-level description of the solution algorithm also facilitates the automatic derivation of the adjoint and tangent linearization of coupled PDE-ODE solvers. The supplementary code for the paper is also openly available.