SaveXYZ - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

QuantumChemistry

  

SaveXYZ

  

 save molecular geometry from a Maple list to an XYZ file

  

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SaveXYZ(molecule)
SaveXYZ(file,molecule)

Parameters

file

-

string; string of the filename for saving the molecular geometry in XYZ format

molecule

-

list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates

Description

• 

The SaveXYZ(file,molecule) command saves the molecule's geometry to an XYZ file.

• 

The SaveXYZ(molecule) command opens a file dialogue for selecting the directory and entering the filename file.

• 

The molecule is a Maple list of lists.  Each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates.

• 

The format of molecule is the standard format for molecular geometries in the QuantumChemistry package.

• 

Note: The XYZ format for a molecule with n number of atoms is as follows:
   
n
comment line
A  X   
A  X  
...   
A  X  

where

Examples

(1)

(2)

See Also

PlotMolecule
MolecularData
ReadXYZ

 

 

 


Download Help Document