10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-23 21:03:33 +01:00
QCaml/common/lib/constants.mli

44 lines
873 B
OCaml
Raw Normal View History

2020-12-28 01:55:03 +01:00
(* Thresholds *)
2018-03-03 22:29:08 +01:00
2020-12-28 01:55:03 +01:00
val epsilon : float
2024-01-17 10:30:24 +01:00
(** Value below which a float is considered null. Default is \epsilon = 2.10^{-15}. *)
2020-12-28 01:55:03 +01:00
2024-01-17 10:30:24 +01:00
val integrals_cutoff : float
(** Cutoff value for integrals. Default is \epsilon. *)
2020-12-27 16:55:53 +01:00
2024-01-17 10:30:24 +01:00
(** Mathematical constants *)
2020-12-27 16:55:53 +01:00
val pi : float
2024-01-17 10:30:24 +01:00
(** $\pi = 3.141~592~653~589~793~12$ *)
2020-12-27 16:55:53 +01:00
val two_pi : float
2024-01-17 10:30:24 +01:00
(** $2 \pi$ *)
2020-12-27 16:55:53 +01:00
val sq_pi : float
2024-01-17 10:30:24 +01:00
(** $\sqrt{\pi}$ *)
2018-02-13 17:36:25 +01:00
val sq_pi_over_two : float
2024-01-17 10:30:24 +01:00
(** $\sqrt{\pi} / 2$ *)
2020-12-27 16:55:53 +01:00
val pi_inv : float
2024-01-17 10:30:24 +01:00
(** $1 / \pi$ *)
2018-02-13 17:36:25 +01:00
val two_over_sq_pi : float
2024-01-17 10:30:24 +01:00
(** $2 / \sqrt{\pi}$ *)
2020-12-27 16:55:53 +01:00
2024-01-17 10:30:24 +01:00
(** Physical constants *)
2020-12-27 16:55:53 +01:00
val a0 : float
2024-01-17 10:30:24 +01:00
(** Bohr's radius : $a_0 = 0.529~177~210~67(23)$ angstrom. *)
2020-12-27 16:55:53 +01:00
val a0_inv : float
2024-01-17 10:30:24 +01:00
(** $1 / a_0$ *)
2018-05-30 20:16:18 +02:00
val ha_to_ev : float
2024-01-17 10:30:24 +01:00
(** Hartree to eV conversion factor : $27.211~386~02(17)$ *)
2018-05-30 20:16:18 +02:00
val ev_to_ha : float
2024-01-17 10:30:24 +01:00
(** eV to Hartree conversion factor : 1 / ~ha_to_ev~ *)