package cviode

Not available on OCaml 5.5
  1. Overview
  2. Docs
Contact variational integrators - native ocaml version

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cviode-0.0.4.tbz
sha256=89bf0d36db1951ba238f412d59065342f832f77968bbad688ab29e8420e88dba
sha512=1cc90434d167e7a22632aee1cc0273ce36293112a233503fdc428315713a5dadf834fa29ef90f48918fb19562b06c1ba8f2b601eed206f11388b95491e83d8b5

Description

This is a collection of geometric solvers for initial value problems derived from contact Lagrangians. The provided solvers concern Lagrangians of the form $$
L(x, \dot{x}, z, t) = \frac12|\dot{x}|^2 + g_1(x)g_2(z) + h(z) + f(t)x $$ For further information refer to Vermeeren, Bravetti, Seri: Contact Variational Integrators (2019).

Tags

ODE scientific-computing

Added to opam-repository:

README

Contact variational integrators - native ocaml implementation

This is a collection of geometric solvers for initial value problems derived from contact Lagrangians. The provided solvers concern Lagrangians of the form

$$                                         
L(x, \dot{x}, z, t) = \frac12|\dot{x}|^2 + g_1(x)g_2(z) + h(z) + f(t)x
$$

For further information refer to Vermeeren, Bravetti, Seri: Contact Variational Integrators (2019).

Running the integrators on the damped oscillator with and without forcing (see example/damped.ml) produces the following output:

no forcing, critical dampingno forcing, critical damping

TODO

  • Add mli with documentation
  • Add implementation with support for g_2(z) as per description
  • Figure out how to test

Dependencies (4)

  1. owl-ode >= "0.3.0" & < "0.4.0"
  2. owl >= "0.8.0" & < "0.9.0"
  3. dune >= "2.0.0"
  4. ocaml >= "4.06.0"

Dev Dependencies (2)

  1. stdcompat >= "7" & with-test
  2. owl-plplot with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building cviode with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.0.4 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure