10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-07 14:43:41 +01:00
QCaml/Basis/AtomicShellPair.mli

52 lines
1.4 KiB
OCaml
Raw Normal View History

2018-03-20 18:20:40 +01:00
(** A datastructure to represent pairs of atomic shells.
*)
type t
val make : ?cutoff:float -> AtomicShell.t -> AtomicShell.t -> t option
(** 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-21 18:54:56 +01:00
val of_atomic_shell_array : ?cutoff:float -> AtomicShell.t array -> t option array array
2018-03-20 18:20:40 +01:00
(** Creates all possible atomic shell pairs from an array of atomic shells.
If an atomic shell pair is not significant, sets the value to [None].
*)
val atomic_shell_a : t -> AtomicShell.t
(** Returns the first {!AtomicShell.t} which was used to build the atomic
shell pair.
*)
val atomic_shell_b : t -> AtomicShell.t
(** Returns the second {!AtomicShell.t} which was used to build the atomic
shell pair.
*)
val contracted_shell_pairs : t -> ContractedShellPair.t list
(** Returns an array of {!ContractedShellPair.t}, containing all the pairs of
contracted functions used to build the atomic shell pair.
*)
2018-03-21 18:54:56 +01:00
val a_minus_b : t -> Coordinate.t
2018-03-20 18:20:40 +01:00
(* A-B *)
2018-03-21 18:54:56 +01:00
val a_minus_b_sq : t -> float
2018-03-20 18:20:40 +01:00
(* |A-B|^2 *)
val norm_scales : t -> float array
(* norm_coef.(i) / norm_coef.(0) *)
2018-03-21 15:01:39 +01:00
val ang_mom : t -> AngularMomentum.t
2018-03-20 18:20:40 +01:00
(* Total angular Momentum *)
val monocentric : t -> bool
(** If true, the two atomic shells have the same center. *)