10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-02 03:15:19 +02:00
QCaml/HartreeFock/HartreeFock.ml
2018-05-30 18:07:05 +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