File: qna.rst

package info (click to toggle)
gpaw 21.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,492 kB
  • sloc: python: 121,997; ansic: 14,138; sh: 1,125; csh: 139; makefile: 43
file content (35 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.. module:: gpaw.xc.qna
.. _qna:

=================================================
Quasi-non-local exchange correlation approxmation
=================================================

Rationale

---------
Using QNA
---------

Code example::

  from gpaw import GPAW, PW
  from ase.lattice.compounds import L1_2

  QNA = {'alpha': 2.0,
         'name': 'QNA',
         'orbital_dependent': False,
         'parameters': {'Au': (0.125, 0.1), 'Cu': (0.0795, 0.005)},
         'setup_name': 'PBE',
         'type': 'qna-gga'}

  atoms = L1_2(['Au','Cu'],latticeconstant=3.74)
  calc = GPAW(mode=PW(300),
              xc = QNA,
              kpts=kpts,
              txt='AuCu3_QNA.txt')
  atoms.get_potential_energy()


.. autoclass:: gpaw.xc.qna.QNA
   :members: