Commit Graph

540 Commits

Author SHA1 Message Date
timrov 0eccdee299 Minor changes: changed a name of the routine in the error message
and removed a wrong comment in the code


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13199 c92efa57-630b-4861-b058-cf58834340f0
2016-12-16 17:29:18 +00:00
giannozz 229692d720 Cleanup of FFTXlib:
1) routines fwfft and invfft moved out of file fft_interfaces.f90 into new
   file fft_fwinv.f90. Prevents massive recompilation if something changes
   in the FFT routines.
2) machine-dependent fft_scalar.*.f90 are now modules with different names,
   conditionally included into fft_scalar with a USE, no longer an #include.
   Avoids trouble with dependencies, allow simplification of makedeps.sh.
All changes should be harmless, but I have tested only FFTW, FFTW3, DFTI.
Please let me know if there is any problem



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13185 c92efa57-630b-4861-b058-cf58834340f0
2016-11-27 21:43:15 +00:00
giannozz 6c980121fe Removal of unused modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13184 c92efa57-630b-4861-b058-cf58834340f0
2016-11-25 21:10:06 +00:00
giannozz 57fdf2f9ad make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13180 c92efa57-630b-4861-b058-cf58834340f0
2016-11-24 14:35:51 +00:00
giannozz 78b22ce356 Minor cleanup, removal unused references to parallel_include
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13175 c92efa57-630b-4861-b058-cf58834340f0
2016-11-23 19:54:19 +00:00
spigafi f0012608ea Minor changes, mostly to cope with 'make -j'
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13051 c92efa57-630b-4861-b058-cf58834340f0
2016-10-01 17:12:37 +00:00
kokalj ddb98b1515 Improved handling of dependencies between input_xx.xsl and resulting INPUT_*.html|txt
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13025 c92efa57-630b-4861-b058-cf58834340f0
2016-09-26 14:19:13 +00:00
giannozz bd0f26b277 ColorCalculator downloads the needed java code, courtesy of Michael Banks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13011 c92efa57-630b-4861-b058-cf58834340f0
2016-09-23 16:54:06 +00:00
timrov 53e71891e7 Update of README in TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13006 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 17:15:48 +00:00
timrov dc6a9d2ef5 In the last commit make.depend was containing Environ-plugin-related stuff
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13003 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 14:57:05 +00:00
timrov b684ec531d Updated/extended the list of references for citations in TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13002 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 14:44:18 +00:00
timrov bf263f339f Improved an example of using TDDFPT (Davidson) + Environ.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13000 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 13:50:40 +00:00
timrov 18e7be609b Improved the example of using TDDFPT (Lanczos) + Environ.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12999 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 13:36:43 +00:00
timrov 88279ea79b Added an example for testing the turbo_davidson.x code
with ultrasoft pseudopotentials.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12994 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 11:48:39 +00:00
timrov 6008a146ba Improved the example of using turbo_davidson.x for computing
the absorption spectrum of the CH4 molecule in vacuum.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12990 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 15:44:51 +00:00
spigafi 70a74abcc4 Ifdef preprocessor macro refactoring (TDDFPT)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12974 c92efa57-630b-4861-b058-cf58834340f0
2016-09-18 14:57:34 +00:00
giannozz 6468059ea3 Ooops ... forgot to change the arguments of divide_et_impera
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12894 c92efa57-630b-4861-b058-cf58834340f0
2016-08-31 17:25:16 +00:00
giannozz 95cf2364ef Too many hyphens in "helpdoc --version", the correct syntax is "-version"
Now "make doc" works again


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12886 c92efa57-630b-4861-b058-cf58834340f0
2016-08-30 16:54:59 +00:00
giannozz 7ce7d161bf Makefile simplification: TOPDIR is used to define the same LIBOBJS everywhere.
In case of trouble, see instruction in the make.inc file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12840 c92efa57-630b-4861-b058-cf58834340f0
2016-08-25 19:27:31 +00:00
kokalj 27477e4f7e adding version number to INPUT_*.html|txt
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12813 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 18:00:18 +00:00
kokalj b8cbac42ab simplifying ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12812 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 17:26:41 +00:00
kokalj da19abcb10 adding input_xx.xsl dependency for *.def --> *.html transformation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12811 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 17:24:52 +00:00
degironc 1b63d71811 indexing of real_space related variable betasave(:,:,:) changed from
(1:nat,1:nhm,1:maxir) to (1:maxir,1:nhm,1:nat) so that the needed 
operations are performed on contiguous memory positions.

calbec, add_vuspsi, .. etc   are waaay faster.

changed the indexing also in the only plase in TDDFPT where betasave was 
referred. I dont know if it appears in any hidden project



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12662 c92efa57-630b-4861-b058-cf58834340f0
2016-08-04 11:42:11 +00:00
ccavazzoni 43b253226c - logical flag have_task_groups removed from FFT type.
- FFT type now do not have any information about task group:
  no need to temporary change the value of variable...
- When task group are not needed symple do not use "dtgs" data type
- FFT interfaces called with FFT datatype ONLY, do not perform
  task groups trics any longer, this should simply thing a bit....




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12628 c92efa57-630b-4861-b058-cf58834340f0
2016-07-29 16:37:19 +00:00
ccavazzoni de2a01c4e6 - Task groups variables moved form FFT type to a new data type
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12626 c92efa57-630b-4861-b058-cf58834340f0
2016-07-29 14:25:22 +00:00
timrov 4627f7e55b Fixed a bug in turboTDDFT which was appearing if empty states were also computed.
This bug is related to the variable nwordwfc, which depends on the number of bands.
In turboTDDFT if empty states are computed (which is not needed for turbo_lanczos.x, but allowed,
and in fact the code will simply skip empty states), the global variable nbnd is set equal to 
nbnd_occ, i.e. only occupied bands (this is not my idea), which is bad, because global 
variables should not change their values. Due to such a confusion, I introduced this bug
some time ago. Now this is fixed.  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12603 c92efa57-630b-4861-b058-cf58834340f0
2016-07-22 13:36:45 +00:00
timrov acaff05dda 1) make.sys is replaced by make.inc in TDDFPT/Examples
2) Fixed a bug in the case TDDFPT + hybrids + k points related to the fact that the so-called array "revc_int_c" was not allocated (this option is disabled, because it has not been tested thoroughly yet, but we keep it functional)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12543 c92efa57-630b-4861-b058-cf58834340f0
2016-06-26 17:34:04 +00:00
giannozz 02ce4df8d6 make.sys => make.inc. All other codes using make.sys should modify their build
mechanism accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12539 c92efa57-630b-4861-b058-cf58834340f0
2016-06-25 07:26:50 +00:00
timrov 1534118512 In the previous commit make.depend contained routines, which are not needed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12515 c92efa57-630b-4861-b058-cf58834340f0
2016-06-21 13:30:01 +00:00
timrov 288b3e3e9c Miscellaneous improvements in TDDFPT:
1) Use the new routine h_prec (preconditioning matrix)
2) Use the routine g2_kin
3) Adding more documentation
4) Extension of compute_d0psi_rs to k-points version


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12514 c92efa57-630b-4861-b058-cf58834340f0
2016-06-21 12:35:43 +00:00
timrov 49b7ca865e 1) TDDFPT + hybrids must be used with d0psi_rs=.true.
(treatment of the dipole in the real space).
   This is explained in Ge et al., CPC 185, 2080 (2014). 
   Upgrading the examples and putting a warning in the code.
2) In my last commit (r12487) I wrote a misleading comment:
   instead of igk(1:3) and igk_k(1:3,ik) there is of course
   igk(ig) and igk_k(ig,ik), where ig runs over G vectors.
   In the code everything is fine (only the comment was wrong).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12489 c92efa57-630b-4861-b058-cf58834340f0
2016-06-13 10:52:11 +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
giannozz 0e6d449bea Statically dimensioned vector "nbnd_occ" made dynamical.
BEWARE: I think I have modified all codes that needed it, but please
1) verify that both allocation and deallocation are made in the proper place
2) update other codes not under svn that make usage of such variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12451 c92efa57-630b-4861-b058-cf58834340f0
2016-06-01 08:30:58 +00:00
giannozz 0014bec604 Call to cft_wave changed so as to remove need to pass indices. Note that this
will break any code not in svn using cft_wave. Should work but please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12449 c92efa57-630b-4861-b058-cf58834340f0
2016-05-30 17:39:48 +00:00
timrov 44f00cb28c Since the routine h_psi should be used also in the linear-response codes (instead of h_psiq), I use it in the turboEELS code. More precisely, I call directly the routine ch_psi_all instead of calling h_psiq and s_psi in the routine TDDFPT/lr_apply_liouvillian_eels. Added some clarification comments. Lastly, in the routine ch_psi_all I added a condition "IF (alpha_pv.NE.0.0d0) THEN compute alpha_pv P_v wfct", which allows one to avoid computing P_v when alpha_pv=0 (e.g. in the turboEELS code).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12442 c92efa57-630b-4861-b058-cf58834340f0
2016-05-30 09:53:34 +00:00
timrov b6bbb80483 Re-introduced back the logical variable "tddfpt", because it is used also by the Environ plugin and not only it was used by PHonon. I have put more clear comments about this in order not to forget. Maybe better solutions can be found in order to avoid the use of the variable tddfpt.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12433 c92efa57-630b-4861-b058-cf58834340f0
2016-05-25 18:25:03 +00:00
timrov ef4a28ff1a Several changes:
1) Moved some TDDFPT-specific cases from the general routine LR_Modules/ch_psi_all.f90 to the TDDFPT routines;
2) Deleted the variable "tddfpt", because it is no longer needed anywhere (in the older versions of the code this variable was used to tell to the PHonon routines about TDDFPT specific operations);
3) Some other minor changes in TDDFPT.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12432 c92efa57-630b-4861-b058-cf58834340f0
2016-05-25 17:49:25 +00:00
giannozz 41a6780bd8 I think this is needed in order to call h_psi instead of h_psiq with task
groups - untested


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12430 c92efa57-630b-4861-b058-cf58834340f0
2016-05-24 07:57:45 +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
giannozz df30a665aa Explicit preprocessing produces *_tmp.f90 files instead of *.F90 files, to
prevent trouble with OS-X. May or may not work (it won't unless configure
is updated: please somebody with v.2.63 of autoconf do it), may turn out to
be obsolete anyway.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12364 c92efa57-630b-4861-b058-cf58834340f0
2016-04-27 14:53:38 +00:00
giannozz ff7471ead0 Output of non-writing processes should not be redirected to /dev/null: it is
useless (the call to "environment_set" already does that) and breaks Windows


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12357 c92efa57-630b-4861-b058-cf58834340f0
2016-04-25 18:40:02 +00:00
timrov 08c746f3eb Updated the example for TDDFPT (Davidson) + Environ for the CH4 molecule.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12341 c92efa57-630b-4861-b058-cf58834340f0
2016-04-22 17:35:51 +00:00
timrov 625b0717d4 Updated the example for TDDFPT (Davidson) for the CH4 molecule in vacuum.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12340 c92efa57-630b-4861-b058-cf58834340f0
2016-04-22 17:28:26 +00:00
timrov fb6acccbd8 Erratum to my previous commit: the commited files were wrong, now I commit the correct files.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12339 c92efa57-630b-4861-b058-cf58834340f0
2016-04-22 17:16:38 +00:00
timrov c25b63bdea TDDFPT (Lanczos) + Environ: Adding a reference spectrum and updating the output reference files.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12338 c92efa57-630b-4861-b058-cf58834340f0
2016-04-22 17:08:55 +00:00
timrov 97e5f9e726 Added a warning that TDDFPT + Hubbard U is not implemented.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12326 c92efa57-630b-4861-b058-cf58834340f0
2016-04-21 16:08:23 +00:00
timrov 0e378995a7 Minor changes: update and correct some comments in TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12284 c92efa57-630b-4861-b058-cf58834340f0
2016-04-06 10:38:04 +00:00
giannozz 4c34ba3ab3 make.depend updated; added missing make.depend for bse
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12240 c92efa57-630b-4861-b058-cf58834340f0
2016-03-23 14:55:51 +00:00
timrov 38f6d3f3ab TDDFPT: Re-introduced a (second) call to lr_ortho in lr_lanczos, because it turns out to be important for the stability of the Lanczos chain when pseudo_hermitian=.false. I think that this issue must be investigated in a more detail, because in the old versions of the TDDFPT code such an auxiliary call to lr_ortho was not needed, whereas now it is.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12228 c92efa57-630b-4861-b058-cf58834340f0
2016-03-20 12:49:40 +00:00
timrov a020de3d7c Some optimization of the TDDFPT code. Namely, the routine lr_apply_liouvillian(_eels) was giving sevc1_new on the output, but it was never used. So, it was removed. Also, some save of RAM due to the fact that there were sevc1_new(:,:,:,1) and sevc1_new(:,:,:,2), but only one of them was used (and computed) in lr_lanczos. Hence, I defined a new array sevc1_new(:,:,:), which replaces the former one and hence save RAM.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12227 c92efa57-630b-4861-b058-cf58834340f0
2016-03-20 12:12:38 +00:00
timrov 80fcd1842c TDDFPT: In previous commit I forgot to change the sign in one routine, since "orthogonalize" applies -P_c^+, but I needed +P_c^+.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12226 c92efa57-630b-4861-b058-cf58834340f0
2016-03-19 19:25:02 +00:00
timrov 613ee5577a Several changes:
1) Added a flag dpsi_computed in the subroutine orthogonalize.f90 in LR_Modules. The meaning of this flag is described in the header of that routine. It was needed to generalize this subroutine. In short, this flag controls whether S*evq was already computed before or it must be computed inside of orthogonalize. If this idea does not look good for someone, then a better strategy should be found. I decided to introduce this new flag in order to make minimal changes in the PHonon code. 
2) TDDFPT: The use of lr_ortho (which is a modified version of orthogonalize.f90) was replaced in several places by orthogonalize. Still in several places of the turboDavidson code there are calls to lr_ortho, which should be replaced by orthogonalize if possible. In the future lr_ortho should be removed and orthogonalize should be used instead. This is done for the sake of unification of the linear response codes in QE.
3) TDDFPT: The orthogonalization to the valence states manifold (orthogonalize) has been moved from lr_lanczos to lr_apply_liouvillian, which is now in correspondance with the definition of the Liouvillian superoperator implemented in lr_apply_liouvillian. USPP is a special case, and hence the property S^-1 P_c^+ = P_c S^-1 has been used to make such a move of the call to orthogonalize (old call to lr_ortho).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12225 c92efa57-630b-4861-b058-cf58834340f0
2016-03-19 19:04:05 +00:00
timrov f8ef304503 - revert usage of INTENT(IN) for FFT data type in TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12210 c92efa57-630b-4861-b058-cf58834340f0
2016-03-13 16:56:30 +00:00
timrov 0ed5e28a85 TDDFPT was not compiling after recent changes in FFTXlib. Now it compiles.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12208 c92efa57-630b-4861-b058-cf58834340f0
2016-03-13 13:52:06 +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 f68259ade0 Deleting the old copy of setqmod.f90 from PHonon
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12182 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 14:07:43 +00:00
timrov 2673f7b421 Remove the dependence from the PHonon variable
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12179 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 13:59:38 +00:00
timrov f1be423d66 Moved the variables dpqq and dpqq_so from "phus" to "lrus".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12175 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 13:04:42 +00:00
timrov a6e3e92c08 Update make.depend
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12174 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 11:58:14 +00:00
timrov c21589f60e Removed some other dependencies of TDDFPT on PHonon variables (namely, units_ph -> lrwfc, iuwfc).
While doing this, adapted the turboEELS code to use get_buffer instead of davcio.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12173 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 11:56:59 +00:00
timrov 1b8c581d5f Moved parts of the PHonon code, which compute nbnd_occ and alpha_pv,
from phq_setup.f90 to separate subroutines setup_nbnd_occ.f90 
and setup_alpha_pv.f90 in LR_Modules. The reason for this is always the same:
these parts of PH were duplicated eslewhere (in TDDFPT) and now it is
time to merge them and move to LR_Modules.
Also some small changes in TDDFPT: removing the dependencies on PH variables.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12172 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 10:58:15 +00:00
timrov 0bc6bc576f Remove the dependence of TDDFPT on the PH variable 'tmp_dir_phq'
by creating a new variable 'tmp_dir_lr' in TDDFPT.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12169 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 17:06:59 +00:00
timrov 157e732d14 Update make.depend
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12168 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 16:35:42 +00:00
timrov 51c86d33ad Moved a part of the PHonon code (which computes the derivative of the XC potential)
from the routine PHonon/PH/phq_setup.f90 to a new routine "setup_dmuxc.f90"
in LR_Modules. The reason for this action is that the same duplicated part of the
code was present in TDDFPT. Now both PHonon and TDDFPT use the same routine in
LR_Modules/setup_dmuxc.f90. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12167 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 16:33:33 +00:00
timrov a289e4337e Update Makefile, make.depend and remove old copies of setup_dgc.f90 and compute_vsgga.f90 from PHonon/PH
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12166 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 15:41:03 +00:00
timrov a82139b05a Minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12163 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 15:24:59 +00:00
timrov 3c64d13f11 Deleting the routine lr_sm1_psi from TDDFPT and updating the Makefiles.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12158 c92efa57-630b-4861-b058-cf58834340f0
2016-02-21 17:04:59 +00:00
timrov 8882c58dcd Restructured the lr_sm1_psi routine (which applies the S^-1 operator to psi) and splited it into two (for q=0 and q/=0).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12156 c92efa57-630b-4861-b058-cf58834340f0
2016-02-21 16:25:56 +00:00
timrov 495cc700c9 The phonon "mode" is no longer needed in the input for dv_of_drho. Some documentation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12155 c92efa57-630b-4861-b058-cf58834340f0
2016-02-21 11:29:59 +00:00
timrov 48fdd07972 Moved the call to the routine "addcore" out from the routine "dv_of_drho",
in order to make dv_of_drho independent from the PHonon-specific routines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12151 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 18:39:27 +00:00
timrov 96e5da1539 Moved the "lrpa" variable from the module "control_ph" to the module "control_lr".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12149 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:34:35 +00:00
timrov 7effe72502 Merged the "nlcc_any" of the "nlcc_ph" module with the "nlcc_any" of the "uspp" module.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12148 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:16:16 +00:00
timrov 5444a4fcf0 Update several other examples of TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12131 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 17:20:02 +00:00
timrov c3069f51f9 Update the example of CH4 with time-dependent Hartree-Fock
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12130 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 16:52:58 +00:00
timrov dc6637d5e4 Update the Examples of TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12129 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 16:40:56 +00:00
timrov e229d98f56 Removed the routine "lr_dv_of_drho_eels", which was a modified duplicate of the PHonon routine "dv_of_drho.f90". Now the turboEELS code uses the original PHonon routine. Also removed the obsolete variables "eps" and "clfe". Slightly improved the readability of the routine "dv_of_drho.f90".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12126 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 14:27:41 +00:00
timrov c6747c3d2f Removed the option lr_periodic=.true. (i.e. when the perturbation has such a q that it is equal to G), which is not useful (two Lanczos chains are needed, which not at all a gain wrt to the implementation of perturbations with generic q). It was useful only at the early stages of the implementation of EELS in TDDFPT for testing purposes. Removed the routine "lr_read_wf_eels_periodic.f90", which was needed only when lr_periodic=.true. Also removed a very obsolete routine "lr_diagonalise.f90".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12125 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 13:50:34 +00:00
timrov 707e58243f TDDFPT routines, which compute the response density, now use the original PH routines, which allows us to delete the duplicated parts of the code. Some documentation of the PH routines.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12120 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 12:41:19 +00:00
timrov 9849311bf5 In the previous commit I made a typo in the comment: "npw_k" indices were replaced by "ngk" (and not "nkg"). In the code the correct name was used.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12108 c92efa57-630b-4861-b058-cf58834340f0
2016-02-09 14:45:31 +00:00
timrov 2d3a709671 Update of the TDDFPT codes: 1) Since the variable npw_k(:) was merged into nkg(:) in PW,
the same is done in TDDFPT, 2) The indices igk are no longer written to the file 
(unit iunigk), but kept in memory in igk_k, as was done in PW 3) removal of variables 
which are not used.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12107 c92efa57-630b-4861-b058-cf58834340f0
2016-02-09 14:31:51 +00:00
timrov 5fedf6b605 Update make.depend
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12105 c92efa57-630b-4861-b058-cf58834340f0
2016-02-07 15:41:20 +00:00
timrov 6937dd5d57 Moved the debugging subroutines to a more logical place.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12104 c92efa57-630b-4861-b058-cf58834340f0
2016-02-07 15:10:04 +00:00
giannozz f10901cc4a Indices of k+G for all k-points (igk_k) moved from module "realus" to a less
illogical place: module "klist" containing information on k-points. Number 
of plane waves npw_k merged into pre-existing variable ngk. 
Important notes:
- in PWscf only the real-space calculation of <beta|psi> used those variables.
  It should still work but I haven't tested it
- in all other QE packages, only TDDFPT was using those variables. I made them
  pointing to the new ones. It seems to work, but please check
- any other code using those variables should be updated accordingly
- the file with indices (unit iunigk) is still written and it is still used, 
  but it is going to disappear soon: there is no longer any valid reason 
  not to store indices in memory


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12101 c92efa57-630b-4861-b058-cf58834340f0
2016-02-05 16:56:27 +00:00
giannozz 13c8d6d5fb Missing comma in format
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12091 c92efa57-630b-4861-b058-cf58834340f0
2016-02-03 10:01:23 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00
ccavazzoni b9da770dff - Changes for LAXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12062 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:10:10 +00:00
degironc f997c42b5a set_dbecsum_nc and set_int3_nc extracted from PHonon/PH/set_int12_nc.f90 and moved to LR_Modules as separated files
transform_dbecsum_so.f90 and transform_dbecsum_nc.f90 appendened to set_dbecsum_nc.f90 that calls them
transform_int3_so extracted from PHonon/PH/transform_int_so.f90 and appended to set_int3_nc.f90 that calls it
transform_int3_nc extracted from PHonon/PH/transform_int_nc.f90 and appended to set_int3_nc.f90 that calls it
dependencies updated



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12047 c92efa57-630b-4861-b058-cf58834340f0
2016-01-22 03:00:30 +00:00
degironc 521686bbd6 becp1 variable moved form phus -> lrus
addvscf.f90 moved in LR_Modules (done in previous commit)
updated dependencies and USE statements 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12046 c92efa57-630b-4861-b058-cf58834340f0
2016-01-22 01:50:14 +00:00
degironc a29d278e13 git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12043 c92efa57-630b-4861-b058-cf58834340f0 2016-01-21 00:57:35 +00:00
degironc 701d3932d5 index of the perturbation moved as las index in int3
now it is

  int3(nhm,nhm,nat,nspin,npert) =  \int Delta V_Hxc Q d^3r

  and similarly for int3_nc, int3_paw
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12041 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 23:42:39 +00:00
degironc 3030e37f01 cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12039 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 22:17:19 +00:00
degironc 2d4e3fda5a module modes in phcom.f90 split in modes + lr_symm_base in LR_Modules/lrcom.f90
dependencies updated



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12033 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 14:53:42 +00:00
degironc 6e2d87da8f cg_ph renamed cg_lr and moved to LR_Modules/lrcom.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12029 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 11:09:35 +00:00
giannozz e193710eaa Routines invmat, invmat_complex, dinv_matrix, zinv_matrix merged into a small
module invmat. Should be harmless, but please check.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12028 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 10:34:27 +00:00
degironc 57f4c6a4fa ch_psi_all.f90 moved to LR_Modules,
lgamma moved from control_ph -> control_lr
"make all" compiles w/o complaining



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12019 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 08:13:57 +00:00
degironc 78622ed13a compilation ok with orthogonalize.f90 moved to LR_Modules
module control_ph split into PH/control_ph + a minimal LR_Modules/control_lr 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12015 c92efa57-630b-4861-b058-cf58834340f0
2016-01-19 22:39:03 +00:00
degironc c436762fe4 dependencies and Makefiles updated so that "make all" compiles
PH/phcom.f90 split in PH/phcom.f90 + LR_Modules/lrcom.f90 that contains
qpoint module 
A number of routines using these variables needed to be modified to explicitely
load qpoint (in addition to phcom)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12005 c92efa57-630b-4861-b058-cf58834340f0
2016-01-18 22:48:44 +00:00
giannozz 77b40b0552 Unused variables removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11995 c92efa57-630b-4861-b058-cf58834340f0
2016-01-15 15:50:07 +00:00
giannozz 6c39109188 More removal of unused variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11994 c92efa57-630b-4861-b058-cf58834340f0
2016-01-14 21:02:21 +00:00
giannozz 6b605aa15b TDDFPT aligned to recent commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11989 c92efa57-630b-4861-b058-cf58834340f0
2016-01-14 16:45:17 +00:00
spigafi 2f7b0365b4 bin directory removed if distclean invoked
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11938 c92efa57-630b-4861-b058-cf58834340f0
2016-01-05 17:46:53 +00:00
giannozz 5fe04f758e Last occurrence of $ in a write format replaced by advance='no' option
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11908 c92efa57-630b-4861-b058-cf58834340f0
2015-12-16 08:09:14 +00:00
timrov ab338905de TDDFPT: Removing of an obsolete example of Si with USPP. Instead, a new and more demonstrative example of Ag with USPP was already added.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11894 c92efa57-630b-4861-b058-cf58834340f0
2015-12-02 11:55:09 +00:00
timrov 458cc4b3ea Misspelling in the previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11879 c92efa57-630b-4861-b058-cf58834340f0
2015-11-30 15:50:33 +00:00
timrov 9efd0eddab Misspelling in the previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11878 c92efa57-630b-4861-b058-cf58834340f0
2015-11-30 15:48:50 +00:00
timrov 20f3830a9b Bugs fixes in the turboEELS code of TDDFPT:
1) The code was not working correctly with only one k point;
2) In the case of metals the weights wk(ikk) must be used instead 
of wg(ikk,ibnd) in sums over k points (courtesy of Tommaso Gorni);
The effect of this bug was small when small smearing was used. 
3) The code was not working correctly with ultrasoft pseudopotentials, 
because there was a missing term in the external potential due to the 
augmentation part (I thank Andrea Dal Corso for helping to solve this problem!). 
This problem was not detected before, because I tested the code on Si and Al, 
which have small augmentation part, whereas Ag is a good benchmark system. 
To this end, I removed the example of Si with USPP and added an example of Ag with USPP. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11877 c92efa57-630b-4861-b058-cf58834340f0
2015-11-30 15:38:45 +00:00
ccavazzoni fdf7766648 - FFT Modules replaced by FFTXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11857 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 10:37:48 +00:00
degironc 92912d8153 band group parallelization slightly modified to make it more flexible, and little
more efficient.

 subroutine init_index_over_band ( comm, nbnd ) that set ibnd_start and ibnd_end
variables requiring comm=inter_bgrp_comm is removed and replaced by
 subroutine set_bgrp_indices ( nbnd, ibnd_start, ibnd_end ) implementing the same
relationships between its arguments but:
 
 - forcing the use of inter_bgrp_comm from the same mp_bands module,

 - returning ibnd_start and ibnd_end as explicit outputs that are not anymore kept
in the module. In this way other quantities can be distributes if needed in any 
given routine without too many non-local effects.

 For compatibility with TDDFPT, that uses the bgrp parallelization and loads
ibnd_start/ibnd_end trhough mp_global module, these two variables are moved in 
a dedicated module mp_bands_TDDFPT included in Module/mp_bands.f90. This is done
to avoid too much invasive changes in a code i don't know well. In this way the 
needed changes are very localized and transparent, the code compiles correctly 
so I think it should work exactly as before. 
In my opinion the two variables should be moved somewhere inside TDDFPT.

 Band parallelization is extended to h_psi(lda,n,m,psi,hpsi) and s_psi routines 
(only when .not.exx_is_active because otherwise it is already used inside vexx)
for generic values of m (of course it gives a speedup only when m is not too small
compared to nbgrp but it works also if m < nbgrp ).

 Compatibility with task groups has not be explored but should not be conceptually
different from how it works in the exx case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11835 c92efa57-630b-4861-b058-cf58834340f0
2015-11-07 00:06:40 +00:00
timrov 28dc2be693 Reducing memory footprint of TDDFPT: sevc1 array + missing related deallocation (courtesy of Marton Voros).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11830 c92efa57-630b-4861-b058-cf58834340f0
2015-11-06 09:56:33 +00:00
timrov 2bb4cd089c Fixed a bug in TDDFPT: the keaword 'lrpa' (Random Phase Approximation) was missing in the namelist lr_control for the turbo_lanczos.x code (courtesy of Marton Voros).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11814 c92efa57-630b-4861-b058-cf58834340f0
2015-10-29 09:33:45 +00:00
ccavazzoni 780f46c67f - separation of fft data type instances and scatter functions in different modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11813 c92efa57-630b-4861-b058-cf58834340f0
2015-10-29 09:08:16 +00:00
giannozz 7f0c8479a5 Miscellaneous cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11803 c92efa57-630b-4861-b058-cf58834340f0
2015-10-22 16:17:15 +00:00
giannozz aa6b88e518 More missing continuation characters
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11801 c92efa57-630b-4861-b058-cf58834340f0
2015-10-22 16:04:00 +00:00
ustcscgyer a98cd045ff Small change to the memory requirement report.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11800 c92efa57-630b-4861-b058-cf58834340f0
2015-10-22 13:37:04 +00:00
timrov 57402b5430 Updated a reference and an example for turboEELS.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11777 c92efa57-630b-4861-b058-cf58834340f0
2015-10-06 15:44:26 +00:00
giannozz b5db8d6d76 Standard F2003 calls to: get_environment_variable, get_command_argument,
command_argument_count, flush, are used everywhere instead of wrappers.
Some old versions of compilers may no longer work.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11759 c92efa57-630b-4861-b058-cf58834340f0
2015-09-24 10:24:03 +00:00
giannozz c0e6474334 Misspell
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11725 c92efa57-630b-4861-b058-cf58834340f0
2015-09-14 17:02:12 +00:00
obm 053cd7cd57 1) A minor issue that broke functionality in TDDFPT is fixed: EELS code was writing more variables to Liouvillian matrix save file the response charge, and chemistry style valence-virtual analysis codes can handle. I modified the corresponding -readers- to compansate for the new variables. The small automated test in Examples directory is designed to warn about such issues. Please use it.
2) I am implementing a method for extracting dielectric function from various sum rules to be used in the real space/ real time FEM/FET code I recently wrote. At the moment it is not working. It should not break anything, but feel free to remove it if it does. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11717 c92efa57-630b-4861-b058-cf58834340f0
2015-09-03 01:00:53 +00:00
timrov cd438ceeef Added "make doc" and "make doc_clean" options in the Makefile of TDDFPT. Small fix in INPUT_Lanczos.def
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11667 c92efa57-630b-4861-b058-cf58834340f0
2015-08-04 13:28:39 +00:00
timrov e7ba0deda9 Minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11580 c92efa57-630b-4861-b058-cf58834340f0
2015-06-17 10:19:29 +00:00
spigafi feaa0c91ed Proper cleaning.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11579 c92efa57-630b-4861-b058-cf58834340f0
2015-06-16 14:28:07 +00:00
giannozz e1738f62e3 Removed distinction between forwards and backward communicators for FFTs on
reduced-cutoff grids. Noew there is a single communicator for the two cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11569 c92efa57-630b-4861-b058-cf58834340f0
2015-06-11 15:44:43 +00:00
giannozz 0a72e3ca4a Misspells + removal of unused routine
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11548 c92efa57-630b-4861-b058-cf58834340f0
2015-05-20 16:56:36 +00:00
giannozz 3d01263af6 Routines grid_scatter, cscatter_sym, cscatter_smooth, cscatter_custom, all
replaced by a single interface routine scatter_grid. Should be harmless, but 
it was tested a bit only in PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11530 c92efa57-630b-4861-b058-cf58834340f0
2015-05-07 20:34:19 +00:00
giannozz c712255b03 Cleanup of the too many gather/scatter routines, first step:
a single interface "gather_grid" replaces "grid_gather", "gather_smooth",
"cgather_smooth", "cgather_custom". The FFT descriptor is always passed 
as argument. Should be safe but beware: I tested only PW.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11526 c92efa57-630b-4861-b058-cf58834340f0
2015-05-06 16:45:50 +00:00
giannozz ef57da5ef6 Removal of __STD_F95 preprocessing option: compilers that do not accept
allocatable arrays in derived-type structures are obsolete, and moreover,
there is some new code that wouldn't compile


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11514 c92efa57-630b-4861-b058-cf58834340f0
2015-05-05 21:11:38 +00:00
degironc 6f774d6f94 for my peace of mind I renamed
fft_orbital_gamma  -> invfft_orbital_gamma (since it uses invfft!)
bfft_orbital_gamma -> fwfft_orbital_gamma  (since it uses fwfft!)  
fft_orbital_k      -> invfft_orbital_k     (since it uses invfft!)  
bfft_orbital_k     -> fwfft_orbital_k      (since it uses fwfft!)  

I replaced all the istances I could find in the trunk.
Apologies if I missed any.

Stefano dG



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11489 c92efa57-630b-4861-b058-cf58834340f0
2015-04-24 14:21:35 +00:00
giannozz d2f3fb66e3 Cleanup: removal of replicated code and of useless and confusing wrappers.
Everything (including real-space q(r) in TDDFPT, CUDA version) should work 
as before, no warranty though. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11484 c92efa57-630b-4861-b058-cf58834340f0
2015-04-22 19:37:51 +00:00
timrov 1e856ab81b Minor changes in TDDFPT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11457 c92efa57-630b-4861-b058-cf58834340f0
2015-03-24 11:14:46 +00:00
timrov 1ab046733e Implementation of the turboEELS code in the TDDFPT module for calculations of the electron energy loss and inelastic X-ray scattering spectra (see I. Timrov, N. Vast, R. Gebauer, and S. Baroni, Phys. Rev. B 88, 064301 (2013)).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11454 c92efa57-630b-4861-b058-cf58834340f0
2015-03-23 13:31:01 +00:00
ustcscgyer 6d5d97d194 git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11441 c92efa57-630b-4861-b058-cf58834340f0 2015-03-17 17:39:25 +00:00
ustcscgyer 5f64f996d2 Tiny unimportant changes.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11423 c92efa57-630b-4861-b058-cf58834340f0
2015-03-04 16:52:58 +00:00
ustcscgyer 2d438b216d Fix the compiling problem for the previous update.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11422 c92efa57-630b-4861-b058-cf58834340f0
2015-03-04 15:13:15 +00:00
ustcscgyer 56ee3a9664 A previous bug regarding the discharge with USPP is fixed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11420 c92efa57-630b-4861-b058-cf58834340f0
2015-03-03 15:17:22 +00:00
timrov d0e1e1c33a Modified the Makefile in TDDFPT/Doc in order to create *.txt, *.xml, and *.html documentation files for the turbo_davidson.x code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11406 c92efa57-630b-4861-b058-cf58834340f0
2015-02-23 10:58:36 +00:00
timrov 81c663736f Replaced the INPUT_Davidson.txt free-style documentation by the upgraded and improved documentation file INPUT_Davidson.def which respects the standard format of documentation in QE.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11336 c92efa57-630b-4861-b058-cf58834340f0
2015-01-30 11:01:05 +00:00
timrov 83d908e0e1 Update and improvement of the documentation of TDDFPT. Changed some default input parameters from single precision to double precision as they should be.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11335 c92efa57-630b-4861-b058-cf58834340f0
2015-01-30 10:55:48 +00:00
timrov 3bac974825 Bug fix: turbo-Lanczos + hybrids was not working correctly when d0psi_rs = .true.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11331 c92efa57-630b-4861-b058-cf58834340f0
2015-01-29 08:46:48 +00:00
giannozz 09de1510cf make.depend.updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11269 c92efa57-630b-4861-b058-cf58834340f0
2014-11-14 09:51:30 +00:00
ustcscgyer 96be4a1ab5 Makefile is added.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11259 c92efa57-630b-4861-b058-cf58834340f0
2014-11-10 16:15:18 +00:00
ustcscgyer 51ae3b5a28 small fix to the previous update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11234 c92efa57-630b-4861-b058-cf58834340f0
2014-10-18 15:32:09 +00:00
ustcscgyer a96ffebf22 Add the plotting drho function to Davidson algorithm and a example H2O-PLOTRHO.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11233 c92efa57-630b-4861-b058-cf58834340f0
2014-10-18 15:27:06 +00:00
timrov 13a360d4ab turboTDDFPT now can be used with the Martyna-Tuckerman correction scheme
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11143 c92efa57-630b-4861-b058-cf58834340f0
2014-08-22 14:42:11 +00:00
spigafi 2a3cab08ea GCC complains, logicals must be compared with .eqv. instead of ==
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11136 c92efa57-630b-4861-b058-cf58834340f0
2014-08-07 13:42:08 +00:00
giannozz ab5fe5bc55 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11132 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 16:26:03 +00:00
giannozz 820374c16e Corrected various badly spelled "Angstrom"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11128 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 10:15:48 +00:00
ustcscgyer 0d837e32a0 Fix the bug of previous inplementation of shift_d0psi
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11120 c92efa57-630b-4861-b058-cf58834340f0
2014-08-01 17:13:02 +00:00
ustcscgyer 0c1874e948 When calculate d0psi in r-space for hybridfunction, one used to put the molecule in the center of the cell.
Now this is not any more necessary because the shift_cell routine does a trick to shift the wavefunction to the center to calculate d0psi.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11117 c92efa57-630b-4861-b058-cf58834340f0
2014-07-31 23:47:54 +00:00
spigafi 95b10b3afb Removing F90 files generated by PGI preprocess step
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11111 c92efa57-630b-4861-b058-cf58834340f0
2014-07-31 10:47:49 +00:00
timrov 7551661994 Added an example how to use turboDavidson with the Environ module.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11080 c92efa57-630b-4861-b058-cf58834340f0
2014-07-12 12:30:19 +00:00