10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-17 08:30:22 +02:00
QCaml/particles/lib/nuclei.mli
2020-12-29 18:16:16 +01:00

43 lines
820 B
OCaml

(* Type
*
* #+NAME: types *)
(* [[file:../nuclei.org::types][types]] *)
open Common
type t = (Element.t * Coordinate.t) array
(* types ends here *)
(* Conversion *)
(* [[file:../nuclei.org::*Conversion][Conversion:1]] *)
val of_xyz_string : string -> t
val to_xyz_string : t -> string
val of_xyz_file : string -> t
val of_zmt_string : string -> t
val of_zmt_file : string -> t
val to_string : t -> string
val of_filename : string -> t
(* Conversion:1 ends here *)
(* Query *)
(* [[file:../nuclei.org::*Query][Query:1]] *)
val repulsion : t -> float
val charge : t -> Charge.t
val small_core : t -> int
val large_core : t -> int
(* Query:1 ends here *)
(* Printers *)
(* [[file:../nuclei.org::*Printers][Printers:1]] *)
val pp : Format.formatter -> t -> unit
(* Printers:1 ends here *)