File: spacegroup-mg.py

package info (click to toggle)
python-ase 3.26.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (10 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from ase.spacegroup import crystal

a = 3.21
c = 5.21
mg = crystal(
    'Mg',
    [(1.0 / 3.0, 2.0 / 3.0, 3.0 / 4.0)],
    spacegroup=194,
    cellpar=[a, a, c, 90, 90, 120],
)