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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

>>> atoms = create_s22_system(sys)<br />

>>> atoms.get_chemical_symbols()<br />

[’N’, ’H’, ’H’, ’H’, ’N’, ’H’, ’H’, ’H’]<br />

The coupled-cluster interaction energies for the s22 and s26 systems are retrieved like this:<br />

>>> from ase.data.s22 import s22, get_interaction_energy_s22<br />

>>> get_interaction_energy_s22(s22[0])<br />

-0.1375<br />

in units of eV. For s22 these are not the original energies, but from more recent work where the same (large) basis<br />

set was used for all complexes, yielding more accurate coupled-cluster interaction energies.<br />

The s22x5 database expands on the original s22 data by introducing non-equilibrium geometries for each complex<br />

(0.9, 1.0, 1.2, 1.5, and 2.0 times original intermolecular distance). However, these calculations were done in<br />

accordance with the methods used in the original s22 work, and so is expected to inherit the same problems with<br />

mixed basis set sizes. Assuming the interaction energy error due to this is the same in all 5 geometries for each<br />

complex, the default s22x5 interaction energies are therefore corrected with the energy difference between original<br />

and newer energies at the original separation.<br />

Example:<br />

>>> from ase.data.s22 import *<br />

>>> sys1 = s22[0]<br />

>>> sys1<br />

’Ammonia_dimer’<br />

>>> atoms1 = create_s22_system(sys1)<br />

>>> sys2 = s22x5[0]<br />

>>> sys2<br />

’Ammonia_dimer_0.9’<br />

>>> atoms2 = create_s22_system(sys2)<br />

>>> sys3 = s22x5[1]<br />

>>> sys3<br />

’Ammonia_dimer_1.0’<br />

>>> atoms3 = create_s22_system(sys3)<br />

>>> get_interaction_energy_s22(sys1)<br />

-0.1375<br />

>>> get_interaction_energy_s22(sys2)<br />

-0.1375<br />

>>> get_interaction_energy_s22(sys3)<br />

-0.1375<br />

>>> get_interaction_energy_s22x5(sys2)<br />

-0.10549743024963291<br />

>>> get_interaction_energy_s22x5(sys3)<br />

-0.1375<br />

>>> get_interaction_energy_s22x5(sys3,correct_offset=False)<br />

-0.1362<br />

>>> get_interaction_energy_s22x5(sys1,dist=1.0)<br />

-0.1375<br />

>>> get_interaction_energy_s22x5(sys1,dist=0.9)<br />

-0.10549743024963291<br />

>>> get_interaction_energy_s22x5(sys1,dist=0.9,correct_offset=False)<br />

-0.1045<br />

>>> get_number_of_dimer_atoms(sys1)<br />

[4, 4]<br />

>>> get_s22x5_distance(sys2)<br />

-0.25040236345454536<br />

>>> get_s22x5_distance(sys3)<br />

0.0<br />

where sys1 is an s22 complex in the original geometry, while sys2 and sys3 are two different s22x5 geometries<br />

of the exact same complex. It is seen that the interaction energies for an s22 system and its s22x5 equivalent<br />

(indexed ‘_1.0’) does not neccesarily match when the energy offset-correction is turned off. The last two functions<br />

168 Chapter 7. Documentation for modules in <strong>ASE</strong>

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

Saved successfully!

Ooh no, something went wrong!