10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-26 15:12:05 +02:00
QCaml/SCF/HartreeFock.ml
2018-05-31 16:46:45 +02:00

12 lines
243 B
OCaml

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