10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-26 04:37:26 +02:00
QCaml/SCF/HartreeFock.ml

11 lines
242 B
OCaml

open Util
let make ?guess simulation =
if Electrons.multiplicity @@ Simulation.electrons simulation = 1 then
RHF.make ?guess simulation
else
invalid_arg "UHF or ROHF not implemented"
let to_string = HartreeFock_type.to_string