10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-20 04:02:07 +02:00
QCaml/Basis/Basis.mli

30 lines
972 B
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-02-23 15:49:27 +01:00
type t = private
{
2018-02-23 18:41:30 +01:00
size : int ; (** Number of contracted Gaussians *)
contracted_shells :
ContractedShell.t array ; (** Contracted shells *)
2018-02-23 15:49:27 +01:00
}
2018-02-06 18:12:19 +01:00
2018-02-23 18:41:30 +01:00
val to_string : t -> string
(** Pretty prints the basis set in a string. *)
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.
All the {!Element.t}s of the array of {!Nuclei.t} are searched in
the {!GeneralBasis.t}, and the basis is built by creating
{!ContractedShell.t}s centered on the nuclei with the exponents
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