10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-22 12:23:31 +01:00
QCaml/Utils/Constants.mli
2018-03-06 18:25:54 +01:00

31 lines
657 B
OCaml

(** All constants used in the program.
*)
val epsilon : float
(** Value below which a float is considered null. Default is {% $\epsilon$ %} = 10{^-20}. *)
val integrals_cutoff : float
(** Cutoff value for integrals. Default is 10{^-15}. *)
val pi : float
(** {% $\pi$ %} = 3.141_592_653_589_793_12 *)
val sq_pi : float
(** {% $\sqrt{\pi}$ %} *)
val sq_pi_over_two : float
(** {% $\frac{\sqrt{\pi}}{2}$ %} *)
val pi_inv : float
(** {% $\frac{1}{\pi}$ %} *)
val two_over_sq_pi : float
(** {% $\frac{2}{\sqrt{\pi}}$ %} *)
val a0 : float
(** Bohr radius : {% $a_0$ %} = 0.529_177_210_671_2 Angstrom *)
val a0_inv : float
(** {% $\frac{1}{a_0}$ %} *)