18.11.2012 Views

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Diamond<br />

from ase.lattice.spacegroup import crystal<br />

<strong>ASE</strong> <strong>Manual</strong>, <strong>Release</strong> 3.6.1.2828<br />

a = 3.57<br />

diamond = crystal(’C’, [(0,0,0)], spacegroup=227, cellpar=[a, a, a, 90, 90, 90])<br />

Sodium chloride<br />

from ase.lattice.spacegroup import crystal<br />

a = 5.64<br />

nacl = crystal([’Na’, ’Cl’], [(0, 0, 0), (0.5, 0.5, 0.5)], spacegroup=225,<br />

cellpar=[a, a, a, 90, 90, 90])<br />

Rutile<br />

from ase.lattice.spacegroup import crystal<br />

a = 4.6<br />

c = 2.95<br />

rutile =crystal([’Ti’, ’O’], basis=[(0, 0, 0), (0.3, 0.3, 0.0)],<br />

spacegroup=136, cellpar=[a, a, c, 90, 90, 90])<br />

6.2. <strong>ASE</strong> 25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!