Name: CRYSTAL input file
Extension: d12
Specification: CRYSTAL documentation
Visualization programs: N/A
Atomsk can read CRYSTAL input files (*.d12). In such a file, the coordinates are reduced, and Atomsk will immediately convert them to cartesian coordinates. To convert back to reduced coordinates one can use the option -frac
.
In case of 3-D periodic system (keyword "CRYSTAL"), then the symmetry operations associated with the given space group are applied immediately. For 2-D ("SLAB"), 1-D ("POLYMER"), or 0-D ("MOLECULE") systems, symmetry operations are not supported and will not be applied.
If some transformations are defined in the file (associated with the keyword ATOMSUBS, ATOMDISP, ATOMREMO, SLAB or SLABCUT), then these transformations are applied immediately upon reading the file.
When writing a file in the CRYSTAL format, Atomsk writes atom positions as reduced coordinates. The space group is always 1 (P1). That file is just a draft and will have to be edited, it is NOT fully set for a simulation.
atomsk system.d12 visual.cfg
This will read the file system.d12
(applying symmetry operations and transformations if any), and write the final result to visual.cfg
.