Back to main menu

Format: XMD

Name: XMD

Extension: xmd

Specification: XMD manual

Visualization programs: none

Restrictions

Atomsk can read files in the XMD format containing box dimensions and atom positions. Such files can be produced by XMD thanks to the commands WRITE BOX, WRITE PARTICLE, etc. (refer to XMD's manual). Atom types and masses, if set, are saved as auxiliary properties to ensure that they are conserved when converting to another file format that supports them, such as LAMMPS data file, IMD configuration file, or another XMD file. Note that if the XMD file contains instructions for XMD to build or transform an atomic systems (commands such as DUP, FILL, SCREW, etc.), they are not executed by Atomsk.

Atomsk can also write XMD files. If atom types and masses are defined as auxiliary properties, they are used to create the XMD file. XMD can handle only orthogonal simulation boxes, i.e. the box vectors must be (H(1,1) 0 0), (0 H(2,2) 0) and (0 0 H(3,3)). If the actual box is not orthogonal then Atomsk will display a warning saying that all box parameters cannot be written, and the geometry of the system will most likely be wrong.

The XMD file produced by Atomsk can be read from an XMD script thanks to the command READ file.xmd.

Examples

Back to main menu