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

31 lines
853 B
OCaml
Raw Normal View History

2018-01-19 03:14:06 +01:00
type t = Contracted_shell.t array
2018-02-06 18:12:19 +01:00
(** Returns an array of the basis set per atom *)
2018-01-19 03:14:06 +01:00
val of_nuclei_and_general_basis : Nuclei.t -> General_basis.t list -> t
2018-02-06 18:12:19 +01:00
(** Pretty prints the basis set in a string *)
2018-01-19 03:14:06 +01:00
val to_string : t -> string
2018-02-06 18:12:19 +01:00
(** Mutates the state of the file variable to Some f. Required for command-line
interface.
*)
2018-01-22 23:19:24 +01:00
val set_file : string -> unit
2018-02-06 18:12:19 +01:00
(** Basis set file read and parsed. Requires the set_file function to have
been called before.
*)
2018-01-22 23:19:24 +01:00
val general_basis :
(Element.t * General_basis.general_contracted_shell array) list lazy_t
2018-02-06 18:12:19 +01:00
(** Global variable which sets the basis set of the current run.
Lazy evaluated from the nuclear coordinates (Nuclei.nuclei) and
the basis set file (general_basis). The set_file function has
to be called before the basis is used.
*)
2018-01-22 23:19:24 +01:00
val basis : Contracted_shell.t array lazy_t