2021-01-20 23:55:34 +01:00
|
|
|
(* Type *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
|
|
|
|
(* [[file:~/QCaml/gaussian/atomic_shell_pair.org::*Type][Type:1]] *)
|
2018-03-20 18:20:40 +01:00
|
|
|
type t
|
|
|
|
|
2020-10-09 09:47:57 +02:00
|
|
|
open Common
|
2021-01-20 23:55:34 +01:00
|
|
|
(* Type:1 ends here *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* Access *)
|
2020-09-26 12:02:53 +02:00
|
|
|
|
2018-03-20 18:20:40 +01:00
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* [[file:~/QCaml/gaussian/atomic_shell_pair.org::*Access][Access:1]] *)
|
|
|
|
val atomic_shell_a : t -> Atomic_shell.t
|
|
|
|
val atomic_shell_b : t -> Atomic_shell.t
|
|
|
|
val contracted_shell_pairs : t -> Contracted_shell_pair.t list
|
|
|
|
val ang_mom : t -> Angular_momentum.t
|
|
|
|
val monocentric : t -> bool
|
|
|
|
val norm_scales : t -> float array
|
|
|
|
val a_minus_b : t -> Coordinate.t
|
|
|
|
val a_minus_b_sq : t -> float
|
|
|
|
(* Access:1 ends here *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* Creation *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* [[file:~/QCaml/gaussian/atomic_shell_pair.org::*Creation][Creation:1]] *)
|
|
|
|
val make : ?cutoff:float -> Atomic_shell.t -> Atomic_shell.t -> t option
|
|
|
|
(* Creation:1 ends here *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* Creates an atomic shell pair from two atomic shells.
|
|
|
|
*
|
|
|
|
* The contracted shell pairs contains the only pairs of primitives for which
|
|
|
|
* the norm is greater than ~cutoff~.
|
|
|
|
*
|
|
|
|
* If all the contracted shell pairs are not significant, the function returns
|
|
|
|
* ~None~. *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* [[file:~/QCaml/gaussian/atomic_shell_pair.org::*Creation][Creation:2]] *)
|
|
|
|
val of_atomic_shell_array : ?cutoff:float -> Atomic_shell.t array -> t option array array
|
|
|
|
(* Creation:2 ends here *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* Printers *)
|
2018-03-20 18:20:40 +01:00
|
|
|
|
|
|
|
|
2021-01-20 23:55:34 +01:00
|
|
|
(* [[file:~/QCaml/gaussian/atomic_shell_pair.org::*Printers][Printers:1]] *)
|
|
|
|
val pp : Format.formatter -> t -> unit
|
|
|
|
(* Printers:1 ends here *)
|