Back to main menu

## Option: spacegroup

#### Syntax

`-spacegroup <group>`

#### Description

This option applies the symmetry operations of the given space group to the current system.

The <group> can either be the space group number, or the Hermann-Mauguin symbol (without any blank space). After application of symmetry operations, atom duplicates are removed.

Note that this option changes the number of atoms in the system (but does not change the box vectors).

#### Default

Files in the CIF format, the GULP input file format, or the JEMS format, or the VESTA format, may contain a space group number (or Hermann-Mauguin symbol). When they do, Atomsk immediately applies the corresponding symmetry operations. Otherwise, no symmetry operation is applied by default.

#### Examples

- `atomsk initial.cfg -spacegroup Pnma final.xyz`

  With this command, Atomsk will read the file "initial.cfg", apply the symmetry operations of the space group Pnma to all atoms, and write the final results into the file "final.xyz".

- `atomsk initial.cfg -spacegroup 42 final.xyz`

  This will apply the symmetry operations of the space group number 42 (Fmm2).

Back to main menu