10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-19 04:22:21 +01:00
QCaml/SCF/HartreeFock.ml

11 lines
240 B
OCaml

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