10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-19 03:37:08 +02:00
QuantumPackage/ocaml/Units.ml

12 lines
127 B
OCaml

type units =
| Bohr
| Angstrom
;;
let angstrom_to_bohr = 1. /. 0.52917721067121
let bohr_to_angstrom = 0.52917721067121
;;