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

65 lines
1.9 KiB
OCaml
Raw Normal View History

2020-12-27 16:55:53 +01:00
(* Constants
* :PROPERTIES:
* :header-args: :noweb yes :comments both
* :END:
*
* All constants used in the program. *)
2018-03-03 22:29:08 +01:00
2020-12-27 16:55:53 +01:00
(* [[file:../constants.org::*Constants][Constants:1]] *)
2018-02-24 23:57:38 +01:00
2020-12-27 16:55:53 +01:00
(* Constants:1 ends here *)
2018-02-24 23:57:38 +01:00
2020-12-27 16:55:53 +01:00
(* ~epsilon~
*
* Value below which a float is considered null. Default is
* \epsilon = 2.10^{-15}. *)
2018-03-16 00:23:47 +01:00
2018-02-24 23:57:38 +01:00
2020-12-27 16:55:53 +01:00
(* [[file:../constants.org::*~epsilon~][~epsilon~:1]] *)
val epsilon : float
(* ~epsilon~:1 ends here *)
2019-02-27 14:56:59 +01:00
2020-12-27 16:55:53 +01:00
(* ~integrals_cutoff~
*
* Cutoff value for integrals. Default is \epsilon . *)
2018-02-24 23:57:38 +01:00
2020-12-27 16:55:53 +01:00
(* [[file:../constants.org::*~integrals_cutoff~][~integrals_cutoff~:1]] *)
val integrals_cutoff : float
(* ~integrals_cutoff~:1 ends here *)
(* Mathematical constants
*
* | ~pi~ | $\pi = 3.141~592~653~589~793~12$ |
* | ~two_pi~ | $2 \pi$ |
* | ~sq_pi~ | $\sqrt{\pi}$ |
* | ~sq_pi_over_two~ | $\sqrt{\pi} / 2$ |
* | ~pi_inv~ | $1 / \pi$ |
* | ~two_over_sq_pi~ | $2 / \sqrt{\pi}$ | *)
(* [[file:../constants.org::*Mathematical constants][Mathematical constants:1]] *)
val pi : float
val two_pi : float
val sq_pi : float
2018-02-13 17:36:25 +01:00
val sq_pi_over_two : float
2020-12-27 16:55:53 +01:00
val pi_inv : float
2018-02-13 17:36:25 +01:00
val two_over_sq_pi : float
2020-12-27 16:55:53 +01:00
(* Mathematical constants:1 ends here *)
(* Physical constants
*
* | ~a0~ | Bohr's radius : $a_0 = 0.529~177~210~67(23)$ angstrom |
* | ~a0_inv~ | $1 / a_0$ |
* | ~ha_to_ev~ | Hartree to eV conversion factor : $27.211~386~02(17)$ |
* | ~ev_to_ha~ | eV to Hartree conversion factor : 1 / ~ha_to_ev~ | *)
(* [[file:../constants.org::*Physical constants][Physical constants:1]] *)
val a0 : float
val a0_inv : float
2018-05-30 20:16:18 +02:00
val ha_to_ev : float
val ev_to_ha : float
2020-12-27 16:55:53 +01:00
(* Physical constants:1 ends here *)