Contact variational integrators - native ocaml implementation
  • OCaml 99.3%
  • Dune 0.7%
Find a file
2020-10-04 11:33:37 +02:00
.github/workflows Test on ubuntu-20.04 2020-10-04 10:52:04 +02:00
examples Fix issue with qt backend 2020-10-04 11:10:01 +02:00
img example: add title to plots 2019-02-01 16:18:30 +01:00
src Port to recent owl 2020-10-03 22:10:33 +02:00
.gitignore .gitignore: update 2019-02-01 16:04:41 +01:00
.ocamlformat port to latest owl-ode 2019-07-19 01:43:04 +02:00
CHANGES.md CHANGES 2020-10-03 22:13:02 +02:00
cviode.opam Port to recent owl 2020-10-03 22:10:33 +02:00
dune-project dune-project: add name 2020-10-03 21:36:38 +02:00
LICENSE Initial commit 2019-02-01 10:34:23 +01:00
README.md Update README.md 2019-02-04 07:53:01 +01:00

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 damping

no forcing, critical damping

TODO

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