GAMGI Formats: XYZ

Formats
XYZ
GAMGI uses the file extension to automatically determine the file format. To import or export a standard xyz file, just give the filename the extension .xyz.

The first non-empty line must be the number of atoms in the file. After reading the entire file, GAMGI confirms that this number is indeed correct, otherwise an error is shown and the file is not imported.

The second non-empty line is a comment containing any characters.

The next non-empty lines must contain each one a valid element (as Si but not SI or si) followed by valid x y z coordinates, all surrounded by an arbitrary number of spaces.

Currently each line cannot contain more than 199 characters. Empty lines anywhere are ignored.

If errors are not found, GAMGI links the entire list of atoms to a new molecule in the current layer, named Molecule.
Home