Commit Graph

19 Commits

Author SHA1 Message Date
Oscar Baseggio 90c986158f remove some present 2024-03-22 11:12:26 +01:00
Oscar Baseggio 26e21538a3 insert present data to reduce communications 2024-03-22 11:12:26 +01:00
Oscar Baseggio f9055610d6 port all lr_apply_liouvillian.f90 2024-03-22 11:12:26 +01:00
Paolo Giannozzi 92eeab1297 Spin_orbit cleanup
Module "spin_orb" merged into "noncollin_module": there is little logic in
having two small modules ("upf_spinorb" is the other one) for a handful of
spin-orbit related variables. Morever "noncollin_module" and "spin_orb" are
almost everywhere USEd together.
BEWARE: may break external codes using QE routines.
2021-11-15 09:40:07 +01:00
Ivan Carnimeo 9698f31ab8 All codes updated with USE uspp_init 2021-09-01 22:46:44 +02:00
Iurii Timrov cf5fa2320e turboEELS with noncolin=.true. and lspinorb=.false.
is not implemented, so an "errore" message was added to make the
code stop smoothly in this case.
2020-07-29 16:01:00 +02:00
Iurii Timrov c492ff3a9c Changes in TDDFPT:
1) Bugfix in turboEELS+USPP due to recent changes
(fix by Oleksandr Motornyi and Iurii Timrov)
2) Homogenization of names of subroutines
3) Update of the example 17 for turboEELS+USPP+SOC which
was wrong due to the bug mentioned above.
2019-05-28 14:33:17 +00:00
Iurii Timrov 4be767a828 Changes in TDDFPT related to recent extension of
turboEELS to USPP+SOC:
1) Minor changes here and there
2) Added example 17 testing the implementation of turboEELS+USPP+SOC
3) Modified Makefiles to remove dependencies of TDDFPT on PH routines
(it was mistakenly introduced recently)
4) Removed the routine dveqpsi_us_only.f90 because it is not used
anywhere (it is an analogue of lr_addus_dvpsi.f90)
In the HP code added a check on the variable perturb_only_atom
(only Hubbard atoms are allowed to be perturbed)
2019-05-14 12:28:26 +02:00
Oleksandr Motornyi 32fa25445d spin-orbit coupling with uspp in turbo_eels code
done by: Oleksandr Motornyi, Andrea Dal Corso, Nathalie Vast.
2019-05-03 16:58:16 +02:00
Paolo Giannozzi 814c3d5615 Cleanup of parallel modules:
- mp_world and world_comm should be used only in MPI initialization,
  not directly in codes - replaced by mp_images and intra_image_comm
  (except in a few cases whose usage is unclear to me)
- mp_global should be used only to provide initialization routines
  mp_startup, mp_global_end
- specific mp_* modules should be used for parallelization level on *
  (* = images, pools, bands, orhtoh, ...)
Nothing actually changes (I hope) but things will look cleaner if the module
for the required parallelization level is USEd instead of a generic one that
does too meny things at the same time. The final goal of this operation is to
better disentangle the various parallelization levels and to have a better
organized, more granular MPI initialization that does not introduces artificial
and meaningless dependencies. Not done for: PHonon, CPV, TDDFPT, GWW, EPW
2019-01-31 15:51:00 +01:00
giannozz 240526cc33 Merge branch 'hp' into 'develop'
Implementation of the new code hp.x to compute Hubbard U from DFPT

See merge request QEF/q-e!164
2018-08-29 21:02:14 +00: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 1dbe0ebdea Variable "real_space_debug" deleted from realus module. In TDDFPT, input
variables "auto_rs" (and "real_space_debug") deleted. TDDFPT still reads
"tqr" and "real_space" from input (TODO: read them from data file instead).
"make.depend" updated, TDDFPT no longer depends upon iotk
2018-08-22 12:50:05 +02:00
degironc e1d6b18de9 more changes at the smmothing of beta- and q-funcions
US variable qq renamed qq_nt and a new variable qq_na added
because in real space the integral may depend (slightly) on
the atomic position and an atomic value is needed to compute
exactly normalizable wfc.  
Whenever realspace tricks are not used  qq_nt is used.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13604 c92efa57-630b-4861-b058-cf58834340f0
2017-07-15 23:16:18 +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
timrov 7e4e1d9228 Upgrade of the TDDFPT codes using the new logic of the global indices igk_k(1:3,ik) and ngk(ik).
More specificaly:
1) Remove global variable npw (from wvfct) and use ngk(ik) (for optical TDDFPT codes) 
   or ngk(ikk) with ikk=ikks(ik) (for turboEELS). In some routines, ngk is assigned to
   the local variable npw, i.e. npw=ngk(ik), and in other routines ngk is used directly.
2) Remove global indices igk(1:3) (from wvfct) and use igk_k(1:3,ik) (for optical TDDFPT codes)
   or igk_k(1:3,ikk) with ikk=ikks(ik) (for turboEELS).
3) Remove global variable npwq (from qpoint) and use the local variable with the same name,
   which is defined as npwq=ngk(ikq) with ikq=ikqs(ik) (i.e. index of the point k+q).
4) Remove global index variable igkq(1:3) (from qpoint) and use the global index variable
   igk_k(1:3,ikq) with ikq=ikqs(ik).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12487 c92efa57-630b-4861-b058-cf58834340f0
2016-06-12 17:26:36 +00:00
timrov ef8089e87b Put the routine dv_of_drho in the module (called dv_of_drho_lr), because it contains an optional array drhoc (response core charge density). Without putting dv_of_drho in the module, the code was stopping (if it was compiled with the XLF compiler (on BG/Q)) when making a check "if (add_nlcc .and. .not.present(drhoc))" in the routine dv_of_drho. Thanks to Lorenzo Paulatto and Paolo Giannozzi for the discussions about how to solve this bug!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12414 c92efa57-630b-4861-b058-cf58834340f0
2016-05-17 13:58:51 +00:00
timrov 01bf571bd4 The TDDFPT module is no longer dependent on PHonon. All the dependencies were moved to LR_Modules.
Further reunification of TDDFPT with the routines in LR_Modules can and should be done.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12183 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 15:47:13 +00:00
timrov dea19290f2 Copying the lr_sm1_psi routine to LR_Modules.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12157 c92efa57-630b-4861-b058-cf58834340f0
2016-02-21 16:28:45 +00:00