10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-29 16:34:43 +02:00
QCaml/mo/lib/guess.mli
2023-06-26 15:37:05 +02:00

24 lines
555 B
OCaml

open Linear_algebra
(** Guess for Hartree-Fock calculations.
Ref: https://pubs.acs.org/doi/10.1021/acs.jctc.8b01089
*)
type ao = Ao.Ao_dim.t
type mo = Mo_dim.t
type guess =
| Hcore of (ao,ao) Matrix.t (* Core Hamiltonian Matrix *)
| GWH of (ao,ao) Matrix.t (* Generalized Wolfsberg-Helmholtz (GWH) *)
| Huckel of (ao,ao) Matrix.t (* Huckel Hamiltonian Matrix *)
| Matrix of (ao,mo) Matrix.t (* Guess Eigenvectors *)
type t = guess
val make :
?nocc:int ->
guess:[ `Hcore | `GWH | `Huckel | `Matrix of (ao,mo) Matrix.t ] ->
Ao.Basis.t -> t