quantum-espresso/examples/example06
ballabio fe4c2e85a8 oops... [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1389 c92efa57-630b-4861-b058-cf58834340f0
2004-10-19 13:11:37 +00:00
..
reference oops... [Gerardo] 2004-10-19 13:11:37 +00:00
README Created unified "examples" directory replacing old "cp_examples", 2004-06-10 09:37:46 +00:00
run_example Misc. cleanup; a few redundant routines moved to flib; 2004-07-02 16:24:48 +00:00

README

This example illustrates how to calculate interatomic force 
constants (IFC) in real space for AlAs in zincblende structure.

The calculation proceeds as follows (for the meaning of the cited input
variables see the appropriate INPUT_* file)

1) make a self-consistent calculation (input=alas.scf.in,
   output=alas.scf.out)

2) make a phonon calculation for a uniform grid of q-points. We chose
   a 444 Monkhorst-Pack grid, not translated. We separately calculate
   the dynamical matrix at Gamma together with effective charges 
   (AlAs is a polar system).  All dynamical matrices are saved with
   a different name.

3) call program q2r.x to calculate IFC's in real space.
   All dynamical matrices are read and Fourier-transformed. Note that
   nr1,nr2,nr3  in file q2r.in are the Monkhorst-Pack indexes of the 
   q-point uniform grid (4,4,4 in this case).
   The output file containing the force constants in a format suitable 
   for program matdyn.x is alas444.fc.

4) call program matdyn.x to recalculate phonons at any q-vector from
   previously calculated IFC's. See the header of matdyn.f90 for
   input documentation.