10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-19 04:22:32 +01:00
QuantumPackage/ocaml/Units.ml

12 lines
121 B
OCaml
Raw Permalink Normal View History

2019-01-25 11:39:31 +01:00
type units =
| Bohr
| Angstrom
;;
let angstrom_to_bohr = 1. /. 0.52917721092
let bohr_to_angstrom = 0.52917721092
;;