mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-09-01 17:23:41 +02:00
19 lines
353 B
OCaml
19 lines
353 B
OCaml
(** When an [xyz] file is read by the [Xyz_parser.mly], it is converted into
|
|
an {!xyz_file} data structure. *)
|
|
|
|
open Qcaml_common
|
|
|
|
type nucleus =
|
|
{
|
|
element: Element.t ;
|
|
coord : Coordinate.angstrom Coordinate.point;
|
|
}
|
|
|
|
type xyz_file =
|
|
{
|
|
number_of_atoms : int ;
|
|
file_title : string ;
|
|
nuclei : nucleus list ;
|
|
}
|
|
|