sundialsmlversion
Interface to the Sundials suite of numerical solvers
Sundials is a collection of six numerical solvers: CVODE, CVODES, IDA, IDAS, ARKODE, and KINSOL. This interface provides access to all features of the underlying library except the Hypre and PETSC nvectors.
The structure of the OCaml interface mostly follows that of the original library, both for ease of reading the existing documentation and for converting existing source code, but several changes have been made for programming convenience and to increase safety, namely:
solver sessions are mostly configured via algebraic data types rather than multiple function calls;
errors are signalled by exceptions not return codes (also from user-supplied callback routines);
user data is shared between callback routines via closures (partial applications of functions);
vectors are checked for compatibility with a session (using a combination of static and dynamic checks), and;
explicit free commands are not necessary since OCaml is a garbage-collected language.
The detailed OCaml documentation contains cross-links to the original documentation. OCaml versions of the standard examples usually have an overhead of about 30% compared to the original C versions, and only rarely more than 50%.
Tags | numerical simulation mathematics science |
---|---|
Authors | Timothy Bourke <tim@tbrk.org>, Jun Inoue <Jun.Lambda@gmail.com> and Marc Pouzet <Marc.Pouzet@ens.fr> |
License | BSD-3-Clause |
Published | |
Homepage | http://inria-parkas.github.io/sundialsml/ |
Issue Tracker | https://github.com/inria-parkas/sundialsml/issues |
Maintainer | tim@tbrk.org |
Dependencies |
|
Optional dependencies | |
Conflicts | |
Source [http] | https://github.com/inria-parkas/sundialsml/archive/refs/tags/v5.8.0p0.tar.gz sha256=2852c6c0b5b43ed6147b4b3d76639d41bc9fec57df0f5eb1581dd7372b3b62b2 md5=86b07c66f5190188725ad8ed3d78f181 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/sundialsml/sundialsml.5.8.0p0/opam |
- owl-ode-sundials>=0.5.0