mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
added MCSCF type (for PETER)
This commit is contained in:
parent
016de173e1
commit
d27a53b198
@ -6,6 +6,7 @@ type t =
|
|||||||
| Natural
|
| Natural
|
||||||
| Localized
|
| Localized
|
||||||
| Orthonormalized
|
| Orthonormalized
|
||||||
|
| MCSCF
|
||||||
| None
|
| None
|
||||||
[@@deriving sexp]
|
[@@deriving sexp]
|
||||||
|
|
||||||
@ -16,6 +17,7 @@ let to_string = function
|
|||||||
| Orthonormalized -> "Orthonormalized"
|
| Orthonormalized -> "Orthonormalized"
|
||||||
| Natural -> "Natural"
|
| Natural -> "Natural"
|
||||||
| Localized -> "Localized"
|
| Localized -> "Localized"
|
||||||
|
| MCSCF -> "MCSCF"
|
||||||
| None -> "None"
|
| None -> "None"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -26,7 +28,8 @@ let of_string s =
|
|||||||
| "natural" -> Natural
|
| "natural" -> Natural
|
||||||
| "localized" -> Localized
|
| "localized" -> Localized
|
||||||
| "orthonormalized" -> Orthonormalized
|
| "orthonormalized" -> Orthonormalized
|
||||||
|
| "mcscf" -> MCSCF
|
||||||
| "none" -> None
|
| "none" -> None
|
||||||
| _ -> (print_endline s ; failwith "MO_label should be one of:
|
| _ -> (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