10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-07 14:43:41 +01:00
QCaml/Utils/Constants.ml

16 lines
333 B
OCaml
Raw Normal View History

2018-02-24 23:57:38 +01:00
let integrals_cutoff = 1.e-15
let epsilon = 1.e-20
2018-01-19 17:42:12 +01:00
(** Constants *)
let pi = acos (-1.)
2019-02-27 14:56:59 +01:00
let two_pi = 2. *. pi
2018-02-01 19:06:29 +01:00
let sq_pi = sqrt pi
let sq_pi_over_two = sq_pi *. 0.5
2018-01-19 17:42:12 +01:00
let pi_inv = 1. /. pi
let two_over_sq_pi = 2. /. (sqrt pi)
2018-05-30 20:16:18 +02:00
let a0 = 0.529_177_210_67
2018-02-13 17:36:25 +01:00
let a0_inv = 1. /. a0
2018-05-30 20:16:18 +02:00
let ha_to_ev = 27.211_386_02
let ev_to_ha = 1. /. ha_to_ev