This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
convertcrystal [2015/05/12 11:37] – macke | convertcrystal [2015/05/12 11:54] (current) – macke | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | The tool '' | + | The tool '' |
The standard crystal structure .cif files can be usually exported to a .xyz file by using software tools like " | The standard crystal structure .cif files can be usually exported to a .xyz file by using software tools like " | ||
'' | '' | ||
Line 15: | Line 15: | ||
saves a .xyz file | saves a .xyz file | ||
- | '' | + | '' |
defines the unit cell structure of the loaded file. | defines the unit cell structure of the loaded file. | ||
- | The definition can be found here: http:// | + | The definition |
+ | |||
+ | '' | ||
+ | |||
+ | prints the current unit cell vectors a,b and c | ||
+ | |||
+ | '' | ||
+ | |||
+ | Sets the distance limit in which the atoms are treated identical. (default: d=0.1A) | ||
'' | '' | ||
Line 24: | Line 32: | ||
just prints the atom and tells how many other atoms at the same crystal position could be found | just prints the atom and tells how many other atoms at the same crystal position could be found | ||
- | '' | + | '' |
- | Sets the distance limit in which the atoms are treated identical. (default 0.1A) | + | remove all atoms outside of the unit cell |
'' | '' | ||
- | removes atoms that are multiple times in the crystal lattice | + | removes atoms that sit on the same site in the crystal lattice |
the function " | the function " | ||
Line 43: | Line 51: | ||
'' | '' | ||
- | rotates crystal around x-axis | + | rotates crystal |
'' | '' | ||
- | rotates crystal around y-axis | + | rotates crystal |
'' | '' | ||
- | rotates crystal around z-axis | + | rotates crystal |
'' | '' | ||
- | moves an atom around | + | moves an atom around. if atomnr is -1 then the whole crystal is moved |
- | if atomnr is -1 then the whole crystal is moved | + | |
'' | '' | ||
Line 64: | Line 71: | ||
'' | '' | ||
- | prints the atom layers which you can use directly use in the lua script. | + | prints |
Note that the layer will be build up along z-axis and not around c-axis. | Note that the layer will be build up along z-axis and not around c-axis. | ||
Line 75: | Line 82: | ||
checks if there is something outside of the primitive outside of the unit cell and warns | checks if there is something outside of the primitive outside of the unit cell and warns | ||
In future there will be more checks included | In future there will be more checks included | ||
- | |||
- | '' | ||
- | |||
- | remove all atoms outside of the unit cell | ||
- | |||
- | '' | ||
- | |||
- | prints the current unit cell vectors a,b and c | ||