Commit Graph

16 Commits

Author SHA1 Message Date
Paolo Giannozzi 21fe34060c Interpolation table in G space
Currently the interpolation table for USPP Q functions computes q_i=Q(|G_i|) on
a grid of equally spaced |G_i| ***in units of 2\pi/a0***. As a consequence, the
number of points of the grid for a given cutoff depends upon the size of the
cell (noticed by Anton Kozhevnikov). This does not make sense: the Q functions
are atomic-like quantities and the maximum |G| depends upon the cutoff.
I moved the interpolation table from 2\pi/a0 units to atomic units, as it is
done everywhere else in QE. I am less and less convinced that storing k-points
and G-vectors in 2\pi/a0 units is a good idea, by the way.

BEWARE: this patch changes the behavior of routines init_us_1 and qvan2,
has the potential to break external codes that use QE routines.
2020-03-12 22:05:47 +01:00
giannozz 0db1ca8624 Workarounds and fixes for yesterday's commits 2020-02-29 08:59:35 +01:00
andreaurru247 d7bedb5acf Developments on the LR_Modules routines to implement the calculation of the phonon frequencies in the noncollinear magnetic case. Note: the calculation of the Born effective charges does not work in this case yet, it will be fixed by a further development 2020-01-29 14:53:00 +01:00
Paolo Giannozzi b956873a4e Removal of obsolete variable was not complete 2019-11-27 07:34:08 +01:00
Paolo Giannozzi 96cefd0402 Subspace size for Davidson diagonalization in phonon code reverted to 4:
reduction to 2 requires more though and experiments. Two fixes to comments.
2019-08-09 08:44:38 +02:00
Paolo Giannozzi ebbb788aa8 No need to add a new variable "isolveph" containing information on the
diagonalization for the phonon code: existing variable "isolve" does the job.
make.depend updated
2019-08-07 19:46:20 +02:00
Alberto Otero de la Roza 2e5ab44581 make the isolveph argument of LR_Modules/setup_nscf.f90 non-optional 2019-08-07 11:43:49 +02:00
Alberto Otero de la Roza 54e5239530 add the diagonalization option to ph.x: allows changing the diagonalization method in the non-scf calcs 2019-08-06 00:55:15 +02:00
Iurii Timrov 0bc76d8100 Implementation of the new code hp.x to compute Hubbard U from DFPT.
Iurii Timrov, Nicola Marzari, and Matteo Cococcioni,
Phys. Rev. B 98, 085127 (2018); arXiv:1805.01805
2018-08-29 14:54:42 +02:00
Paolo Giannozzi e498ee3f2c check_para_diag is a function but was called as a subroutine in three cases.
Noticed by Satomichi Nishihara. Minor cleanup. Should work exactly as before.
2018-04-10 16:15:15 +02:00
giannozz 56892d0f7a Cleanup of unused variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13268 c92efa57-630b-4861-b058-cf58834340f0
2017-01-23 15:46:28 +00:00
giannozz f86660892c Some harmonization of old and new tetrahedra:
- old routine computing dos, allocation and deallocation of "tetra" moved into
  module ktetra; variables tetra and ntetra are used only inside the module
- added module variable nntetra containing number of neighboring points used
  (20 for optimized tetrahedra, 4 otherwise)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13228 c92efa57-630b-4861-b058-cf58834340f0
2017-01-08 14:14:38 +00:00
giannozz 435e3fae31 Optimized tetrahedra for DFPT, contributed by Mitsuaki Kawamura
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13210 c92efa57-630b-4861-b058-cf58834340f0
2016-12-23 12:49:16 +00:00
spigafi 46bfd84dc4 fdef preprocessor macro refactoring (LR_Modules)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12971 c92efa57-630b-4861-b058-cf58834340f0
2016-09-17 14:36:58 +00:00
giannozz 9426c337f1 Oops ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12895 c92efa57-630b-4861-b058-cf58834340f0
2016-08-31 18:30:15 +00:00
degironc 366e5102ef file name made consistent with routine name
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12040 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 22:31:05 +00:00