QCaml/Basis/NucInt.mli

16 lines
459 B
OCaml

(** 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. *)