mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-30 15:15:38 +01:00
added MCSCF type (for PETER)
This commit is contained in:
parent
016de173e1
commit
d27a53b198
@ -6,6 +6,7 @@ type t =
|
||||
| Natural
|
||||
| Localized
|
||||
| Orthonormalized
|
||||
| MCSCF
|
||||
| None
|
||||
[@@deriving sexp]
|
||||
|
||||
@ -16,6 +17,7 @@ let to_string = function
|
||||
| Orthonormalized -> "Orthonormalized"
|
||||
| Natural -> "Natural"
|
||||
| Localized -> "Localized"
|
||||
| MCSCF -> "MCSCF"
|
||||
| None -> "None"
|
||||
;;
|
||||
|
||||
@ -26,7 +28,8 @@ let of_string s =
|
||||
| "natural" -> Natural
|
||||
| "localized" -> Localized
|
||||
| "orthonormalized" -> Orthonormalized
|
||||
| "mcscf" -> MCSCF
|
||||
| "none" -> None
|
||||
| _ -> (print_endline s ; failwith "MO_label should be one of:
|
||||
Guess | Orthonormalized | Canonical | Natural | Localized | None.")
|
||||
Guess | Orthonormalized | Canonical | Natural | Localized | MCSCF | None.")
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user