10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-08-30 16:23:41 +02:00
QCaml/SCF/HartreeFock.ml

11 lines
242 B
OCaml
Raw Normal View History

2018-02-23 18:44:31 +01:00
open Util
let make ?guess simulation =
2019-02-20 19:43:16 +01:00
if Electrons.multiplicity @@ Simulation.electrons simulation = 1 then
2018-02-23 18:44:31 +01:00
RHF.make ?guess simulation
else
invalid_arg "UHF or ROHF not implemented"
2018-05-30 18:07:05 +02:00
let to_string = HartreeFock_type.to_string