10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-27 23:03:32 +01:00
QCaml/Nuclei/Xyz_ast.mli

17 lines
308 B
OCaml
Raw Normal View History

2018-03-03 22:13:14 +01:00
(** When an [xyz] file is read by the [Xyz_parser.mly], it is converted into
an {!xyz_file} data structure. *)
2018-02-13 17:36:25 +01:00
type nucleus =
{
element: Element.t ;
2018-03-03 22:13:14 +01:00
coord : Angstrom.t;
2018-02-13 17:36:25 +01:00
}
type xyz_file =
{
2018-03-03 22:13:14 +01:00
number_of_atoms : int ;
file_title : string ;
nuclei : nucleus list ;
2018-02-13 17:36:25 +01:00
}