10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-27 14:53:32 +01:00
QCaml/Basis/Basis.mli

37 lines
1.1 KiB
OCaml
Raw Normal View History

2018-02-23 18:41:30 +01:00
(** The atomic basis set is represented as an array of {!ContractedShell.t}. *)
2018-03-20 14:11:31 +01:00
type t
2018-02-06 18:12:19 +01:00
2018-03-08 23:29:08 +01:00
val of_nuclei_and_general_basis : Nuclei.t -> GeneralBasis.t -> t
2018-02-23 18:41:30 +01:00
(** Takes an array of {!Nuclei.t}, and a {!GeneralBasis.t} (such as cc-pVDZ
for instance) and creates the corresponding atomic basis set.
2018-03-16 00:23:47 +01:00
All the {!Element.t}'s of the array of {!Nuclei.t} are searched in
2018-02-23 18:41:30 +01:00
the {!GeneralBasis.t}, and the basis is built by creating
2018-03-16 00:23:47 +01:00
{!ContractedShell.t}'s centered on the nuclei with the exponents
2018-02-23 18:41:30 +01:00
and contraction coefficients given by the {!GeneralBasis.t}.
*)
2018-02-06 18:12:19 +01:00
2018-03-08 23:29:08 +01:00
val of_nuclei_and_basis_filename : nuclei:Nuclei.t -> string -> t
2018-02-23 18:41:30 +01:00
(** Same as {!of_nuclei_and_general_basis}, but taking the {!GeneralBasis.t}
from a file.
*)
2018-02-06 18:12:19 +01:00
2018-03-20 14:11:31 +01:00
val size : t -> int
(** Number of contracted basis functions. *)
2018-03-20 15:16:24 +01:00
val atomic_shells : t -> AtomicShell.t array
2018-03-20 14:11:31 +01:00
(** Returns the contracted basis functions per atom. *)
val contracted_shells : t -> ContractedShell.t array
(** Returns all the contracted basis functions. *)
(** {2 Printers} *)
val to_string : t -> string
(** Pretty prints the basis set in a string. TODO *)