10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-22 12:23:31 +01:00

Documentation

This commit is contained in:
Anthony Scemama 2018-03-03 22:29:08 +01:00
parent f95d9740b6
commit db9aff95d3
4 changed files with 17 additions and 14 deletions

View File

@ -1,10 +1,12 @@
(** Data structure representing the output of a Hartree-Fock caculation *)
type t = type t =
{ {
guess : Guess.t; guess : Guess.t; (** Initial guess *)
eigenvectors : Lacaml.D.Mat.t ; eigenvectors : Lacaml.D.Mat.t ; (** Final eigenvectors *)
eigenvalues : Lacaml.D.Vec.t ; eigenvalues : Lacaml.D.Vec.t ; (** Final eigenvalues *)
energy : float ; energy : float ; (** Final energy *)
iterations : float array; iterations : float array; (** Energies of all iterations *)
} }

View File

@ -1,12 +1,4 @@
(** 3D point in cartesian coordinates, where units are Angstroms. *) (** 3D point in cartesian coordinates, where units are Angstroms. *)
type t = private { include module type of Bohr
x : float ;
y : float ;
z : float ;
}
val make : Point.t -> t
(** Create from a {!Point.t}. *)

View File

@ -1,3 +1,7 @@
(** All constants used in the program.
*)
val epsilon : float val epsilon : float
(** Value below which a float is considered null. Default is 10{^-20}. *) (** Value below which a float is considered null. Default is 10{^-20}. *)

5
Utils/Zmap.mli Normal file
View File

@ -0,0 +1,5 @@
(** Hash table where the keys are of type Zkey.t (tuples of integers). *)
include module type of Hashtbl.Make(Zkey)