10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-20 12:12:05 +02:00
QCaml/Basis/NucInt.mli

16 lines
459 B
OCaml
Raw Normal View History

2018-06-13 17:49:58 +02:00
(** Electron-Nucleus attractive potential integrals, expressed as a matrix in a {Basis.t}.
{% $$
V_{ij} = \left \langle \chi_i \left| \sum_A \frac{-Z_A}{ | \mathbf{r} - \mathbf{R}_A |} \right| \chi_j \right \rangle
$$ %}
*)
type t = Lacaml.D.Mat.t
val of_basis_nuclei : basis:Basis.t -> Nuclei.t -> t
(** Build from a {Basis.t} and the nuclei (coordinates and charges). *)
val to_file : filename:string -> t -> unit
(** Write the integrals in a file. *)