9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 14:03:37 +01:00
qp2/ocaml/Long_basis.mli

21 lines
642 B
OCaml
Raw Normal View History

2019-01-25 11:39:31 +01:00
open Qptypes;;
(** A long basis is a basis set where
* all the P orbitals are converted to x, y, z
* all the D orbitals are converted to xx, xy, xz, yy, yx
* etc
*)
2021-05-21 16:42:48 +02:00
type t = (Angmom.Xyz.t * Gto.t * Nucl_number.t) list [@@deriving sexp]
2019-01-25 11:39:31 +01:00
(** Transform a basis to a long basis *)
val of_basis :
2021-05-21 16:42:48 +02:00
(Gto.t * Nucl_number.t) list -> (Angmom.Xyz.t * Gto.t * Nucl_number.t) list
2019-01-25 11:39:31 +01:00
(** Transform a long basis to a basis *)
val to_basis :
2021-05-21 16:42:48 +02:00
(Angmom.Xyz.t * Gto.t * Nucl_number.t) list -> (Gto.t * Nucl_number.t) list
2019-01-25 11:39:31 +01:00
(** Convert the basis into its string representation *)
val to_string :
2021-05-21 16:42:48 +02:00
(Angmom.Xyz.t * Gto.t * Nucl_number.t) list -> string