2020-10-18 01:58:22 +02:00
|
|
|
open Linear_algebra
|
|
|
|
|
2023-06-26 15:31:35 +02:00
|
|
|
(** Guess for Hartree-Fock calculations.
|
|
|
|
Ref: https://pubs.acs.org/doi/10.1021/acs.jctc.8b01089
|
|
|
|
*)
|
2020-10-18 01:58:22 +02:00
|
|
|
|
|
|
|
type ao = Ao.Ao_dim.t
|
|
|
|
type mo = Mo_dim.t
|
|
|
|
|
|
|
|
type guess =
|
|
|
|
| Hcore of (ao,ao) Matrix.t (* Core Hamiltonian Matrix *)
|
2023-06-26 15:31:35 +02:00
|
|
|
| GWH of (ao,ao) Matrix.t (* Generalized Wolfsberg-Helmholtz (GWH) *)
|
2020-10-18 01:58:22 +02:00
|
|
|
| Huckel of (ao,ao) Matrix.t (* Huckel Hamiltonian Matrix *)
|
|
|
|
| Matrix of (ao,mo) Matrix.t (* Guess Eigenvectors *)
|
|
|
|
|
|
|
|
type t = guess
|
|
|
|
|
|
|
|
|
|
|
|
val make :
|
|
|
|
?nocc:int ->
|
2023-06-26 15:31:35 +02:00
|
|
|
guess:[ `Hcore | `GWH | `Huckel | `Matrix of (ao,mo) Matrix.t ] ->
|
2020-10-18 01:58:22 +02:00
|
|
|
Ao.Basis.t -> t
|
|
|
|
|