Commit Graph

468 Commits

Author SHA1 Message Date
giannozz c8db6d7e7f Minor changes: relativistic PPs can also be written as semilocal (not sure
it can be really done, though); UPF version number kept to 2.0.1 to keep
compatibility (there are no incompatible changes anyway, just an addition)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7517 c92efa57-630b-4861-b058-cf58834340f0
2011-02-22 21:49:12 +00:00
giannozz e81eaafb98 Added the possibility to save into the UPF file pseudopotential in
semilocal form (if existing). Nonrelativistic case only, no idea whether
ld1 does the correct thing: anyway there is no code reading the new field.
Version number of UPF moved to 2.1.0, just in case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7516 c92efa57-630b-4861-b058-cf58834340f0
2011-02-22 18:38:13 +00:00
giannozz 2e82a4f670 Some messages made more explicit, some unnecessary warnings removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7419 c92efa57-630b-4861-b058-cf58834340f0
2011-01-19 08:29:24 +00:00
dalcorso 0837b89e25 Added to ld1.x the possibility to write the all-electron charge in a file after
an all-electron run.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7224 c92efa57-630b-4861-b058-cf58834340f0
2010-11-17 16:32:38 +00:00
dalcorso b82cb8c156 Dependencies update.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6956 c92efa57-630b-4861-b058-cf58834340f0
2010-08-03 16:24:31 +00:00
dalcorso 5f887a4e8e Bug fix: a problem with ld1.x in the parallel case.
Cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6922 c92efa57-630b-4861-b058-cf58834340f0
2010-07-18 18:21:59 +00:00
dalcorso abd4c8b2dc Modified the message written in the UPF file in the LDA-1/2 case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6921 c92efa57-630b-4861-b058-cf58834340f0
2010-07-18 18:16:30 +00:00
giannozz 48af782b94 Added missing piece of the energy - not yet sure it is correct, though
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6917 c92efa57-630b-4861-b058-cf58834340f0
2010-07-17 14:35:03 +00:00
giannozz 9599cd1d45 Some more meta-GGA tweaking. Still something missing in the total energy
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6916 c92efa57-630b-4861-b058-cf58834340f0
2010-07-17 14:03:26 +00:00
giannozz baad5e8394 Meta-GGA implemented (sort of) into the atomic code. Right now it works (?)
only for all-electron calculations, scalar-relativistic, no spin


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6915 c92efa57-630b-4861-b058-cf58834340f0
2010-07-17 10:20:26 +00:00
giannozz 4af788a71a More work in orogress for metaGGA
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6913 c92efa57-630b-4861-b058-cf58834340f0
2010-07-16 14:54:26 +00:00
giannozz ffe2e67b01 Preparing atomic code for introduction of meta-GGA. No substantial changes.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6912 c92efa57-630b-4861-b058-cf58834340f0
2010-07-16 10:09:45 +00:00
marsamos 5910ad5a1d commited new gipaw part with paw_as_gipaw too. It is working
however the organization of the core part has to be re-though (maybe)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6884 c92efa57-630b-4861-b058-cf58834340f0
2010-07-06 12:03:15 +00:00
nn245 2d682524e5 run makedep on directories (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6882 c92efa57-630b-4861-b058-cf58834340f0
2010-07-05 16:39:50 +00:00
marsamos 95d98d60fe write of coulomb pseudo has been changed to upf version 2. There still
remain some commented lines, the fortran look has to be checked.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6880 c92efa57-630b-4861-b058-cf58834340f0
2010-07-05 15:44:00 +00:00
giannozz 494a3079f1 there is no reason to write PS wavefunctions in reversed order wrt input!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6874 c92efa57-630b-4861-b058-cf58834340f0
2010-06-29 14:14:14 +00:00
giannozz 65801e8a65 AE wavefunctions are written together with PS wavefunctions, on the right-hand
side of the wavefunction file. The file format is compatible with the previous
one, but plotting of AE and PS wavefunctions is easier.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6873 c92efa57-630b-4861-b058-cf58834340f0
2010-06-29 08:36:55 +00:00
marsamos 1cb00cf628 updated reference in run_lda_half.f90 for LDA-1/2 calculations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6869 c92efa57-630b-4861-b058-cf58834340f0
2010-06-28 11:42:35 +00:00
marsamos 88b4290e75 forgot to add the file that computes LDA-1/2
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6862 c92efa57-630b-4861-b058-cf58834340f0
2010-06-25 11:08:42 +00:00
marsamos a29cb1b513 added LDA-1/2 correction to LD1. Courtesy of Leonardo Matheus Marion Jorge
from University of San Paolo.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6858 c92efa57-630b-4861-b058-cf58834340f0
2010-06-24 13:40:08 +00:00
dalcorso e440d9196e Fixed a bug introduced in a recent cleanup. (Thanks to E. Kucukbenli
for reporting it).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6857 c92efa57-630b-4861-b058-cf58834340f0
2010-06-23 13:28:37 +00:00
giannozz 687bd89938 The values of grid parameter dx is calculated in a less sensitive way to
numerical errors, especially for PPs converted to UPF from other formats


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6824 c92efa57-630b-4861-b058-cf58834340f0
2010-06-10 13:16:06 +00:00
giannozz 2f2af84beb Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6675 c92efa57-630b-4861-b058-cf58834340f0
2010-04-28 18:15:54 +00:00
dalcorso 3994aa39ce Small cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6656 c92efa57-630b-4861-b058-cf58834340f0
2010-04-21 08:35:20 +00:00
nn245 d85ca20874 Some cleanup to simplify machine-parsing (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6580 c92efa57-630b-4861-b058-cf58834340f0
2010-03-31 10:04:40 +00:00
dalcorso 6184ed6fd4 Bug fix: a routine call was not updated.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6571 c92efa57-630b-4861-b058-cf58834340f0
2010-03-30 10:04:22 +00:00
giannozz c87845b609 deallocation of allocated variables completed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6550 c92efa57-630b-4861-b058-cf58834340f0
2010-03-25 09:20:13 +00:00
nn245 4463142589 Rename Modules/functionals.f90 to Modules/funct.f90 to avoid basename clash with flib/functionals.f90 (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6505 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 12:01:22 +00:00
dalcorso 676cd43906 Small changes.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6489 c92efa57-630b-4861-b058-cf58834340f0
2010-03-13 15:08:17 +00:00
dalcorso 37954f6b58 Cleanup: variable rcutnc2paw removed. rcut is used in its place.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6488 c92efa57-630b-4861-b058-cf58834340f0
2010-03-13 14:27:04 +00:00
dalcorso bac79d8452 Improved generation of FR PAW dataset.
Modification to the UPF format: the small components of the all-electron
partial waves exported and imported in the FR case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6487 c92efa57-630b-4861-b058-cf58834340f0
2010-03-13 10:45:42 +00:00
dalcorso a173d20be1 Avoid to write .q and .norm_q files.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6453 c92efa57-630b-4861-b058-cf58834340f0
2010-02-26 12:46:52 +00:00
giannozz f0fc81c48e programs started with mp_global_start should end with mp_global_end. Not a
big deal: it avoids leaving allocated object at stop


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6451 c92efa57-630b-4861-b058-cf58834340f0
2010-02-25 20:03:07 +00:00
giannozz fe31b82070 Double allocation of the same variables, plus minor fix to deallocate all
variables at the end


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6450 c92efa57-630b-4861-b058-cf58834340f0
2010-02-25 19:55:10 +00:00
dalcorso 361240fba8 Introduced a new input parameter in the atomic code: rpwe the radius
at which the partial wave expansion is calculated. Default: rpwe=rlderiv.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6448 c92efa57-630b-4861-b058-cf58834340f0
2010-02-23 17:54:28 +00:00
dalcorso 39a8cc5f88 Bug fix: This routine was not working well for small rlderiv.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6447 c92efa57-630b-4861-b058-cf58834340f0
2010-02-23 02:14:54 +00:00
giannozz c22a10cc2f All makefiles simplified, make.depend updated, fixed an inconsistency in
XSpectra coming from recent changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6379 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:21:51 +00:00
dalcorso 34d1ff4586 Small cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6314 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 10:06:35 +00:00
dalcorso 383e41a3d1 Cleanup of the atomic code. Repeated code moved to a single routine.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6313 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 09:50:47 +00:00
dalcorso bd76ff4b47 Small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6312 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 09:23:36 +00:00
dalcorso 1d2d1c4ce7 Small bug fix.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6311 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 09:22:22 +00:00
giannozz cbe390bdc2 More instances of nonstandard forms for "Quantum ESPRESSO"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6304 c92efa57-630b-4861-b058-cf58834340f0
2010-01-18 13:46:16 +00:00
dalcorso 777dda8e12 Cleanup and small bug fix.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6299 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 14:27:31 +00:00
dalcorso 9131bee7b6 Cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6279 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 15:40:59 +00:00
dalcorso 36f9f8e0ae Small cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6278 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 15:35:18 +00:00
dalcorso 33cdd92a2f A check updated to the case rel=2.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6277 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 15:31:36 +00:00
dalcorso 3b9878da5d Small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6276 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 15:10:20 +00:00
dalcorso ce73a6bc11 Partial cleanup of the atomic code. The radial quantities are written
to file by a single routine. The q fourier transforms are done in one routine
only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6275 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 14:58:31 +00:00
dalcorso b798bad9e5 Option verbosity='high' is now available also with iswitch=1.
In this case:
The eigenvalues are written with more digits.
When rel=2 for each state the norm of the large component and of the
small component are written separately.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6274 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 14:22:39 +00:00
dalcorso 0e22365865 Introduced the possibility to print the eigenvalues (also relativistic) of
an hydrogen-like atom using the variable noscf.
Some cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6272 c92efa57-630b-4861-b058-cf58834340f0
2010-01-08 09:57:03 +00:00
dalcorso afaaad0078 Reintroduced a useful check.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6270 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 17:52:10 +00:00
dalcorso 14fd90daff Small cleanup of the atomic code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6268 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 15:51:26 +00:00
giannozz 7c27df2018 Redirection with -inp file added for uniformity with all other codes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6218 c92efa57-630b-4861-b058-cf58834340f0
2009-11-25 06:24:34 +00:00
giannozz 90a501d84e variables ortho_para and use_task_group moved from control_flags to
mp_global, which seems to me a more appropriate place. Many changes
but little stuff. Hopefully harmful, but no guarantee: please check!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6122 c92efa57-630b-4861-b058-cf58834340f0
2009-11-09 16:07:19 +00:00
giannozz fcb09dd617 More initialization cleanup: clock and stack initialization moved into
environment_start; a few useless wrappers removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6115 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 10:11:24 +00:00
giannozz 805b860d62 Merge of initial printout between CP and PW: CPV/environment.f90 moved
to Modules/environment.f90 and generalized to PW and other codes.
PW/startup.f90 is kept as a wraper for now. The initial message in CP
looks now like the one in PW (please check if it satisfactory). The
compilation date has disappeared from info printed by CP: was it useful?
Makefiles and make.depends updated. ld1 does not depend any longer upon
files in PW/ . Miscellaneous cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6111 c92efa57-630b-4861-b058-cf58834340f0
2009-11-06 17:28:19 +00:00
degironc ea12898a5d first implementation of Martyna-Tuckerman method to decouple periodic
images in a cluster calculation.  Still to be tested in parallel, it
 has been tested for Gamma vs 0 0 0 and for nspin=1 and 2. Forces seem
 to be ok. In the few cases considere there is no significant increase
 of workload with respect to the periodic calculation.

 plot_io.f90 moved from PP to flib because it may be needed
 in PW/martyna_tuckeman.f90 for debugging and in this way circular
 references are avoided. It only USE low-level modules like io_global,
 kinds, and constants so it should be ok.

 Module ws_base.f90 added in Modules. It deals with basic operations
 associated to Wigner-Seitz cell. The implementation should be general;
 it has been tested for SC and FCC only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5911 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 12:59:40 +00:00
giannozz a13cd1f18b Misplaced routines re-placed, Makefiles updated:
Modules/vxccg.f90 split into atomic/vxcgc.f90 and flib/radial_gradients.f90
Modules/metagga.f90 moved to flib/metagga.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5884 c92efa57-630b-4861-b058-cf58834340f0
2009-09-04 13:40:13 +00:00
giannozz 5975a0d477 More of the same
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5803 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 08:15:09 +00:00
giannozz fb66c8a7af More of the same (previously forgotten)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5797 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 20:57:34 +00:00
giannozz 190ca1a6b6 More standardization to the "Quantum ESPRESSO" form
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5795 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 20:50:09 +00:00
giannozz 134f077ee9 There were a few occurrences of "cmplx(a,b)" (lowercase, not preprocessed).
This is a very bad thing since the result is returned in single precision.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5783 c92efa57-630b-4861-b058-cf58834340f0
2009-07-31 16:37:18 +00:00
dalcorso 51e4cdeafd Added the possibility to generate PAW dataset with rel=2 (still experimental).
Sligthly different r->0 behaviour in PSQ pseudization.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5777 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 12:45:53 +00:00
dalcorso d39f75ebc0 Check for negative pseudo-charge extended also to US-PP.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5775 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 11:49:12 +00:00
giannozz 68603defdd More references to removed files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5744 c92efa57-630b-4861-b058-cf58834340f0
2009-07-23 12:18:36 +00:00
giannozz 86186c5c7d Small change to the installation mechanism: the list of locations for
modules is provided by the Makefile in each subdirectory, rather than
by make.sys. No big advantage but neater solution than before


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5737 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 17:18:42 +00:00
ccavazzoni 071a413f12 - vxc_t and exc_t moved to functionals.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5734 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 14:36:23 +00:00
giannozz 8cc593d101 atomic doesn't depend upon phonon
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5689 c92efa57-630b-4861-b058-cf58834340f0
2009-07-16 06:20:57 +00:00
giannozz fd7a11d0dc There can be conflicts between the erf and erfc in QE and those provided
by external libraries (e.g. recent ESSL). In order to prevent such problems,
erf has been renamed qe_erf and erfc qe_erfc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5644 c92efa57-630b-4861-b058-cf58834340f0
2009-07-08 10:29:32 +00:00
dalcorso e8382788d2 Introduced a check to forbid the generation of PAW datasets with negative
pseudocharge.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5631 c92efa57-630b-4861-b058-cf58834340f0
2009-06-28 13:21:05 +00:00
giannozz e1fe9b65cb "shortname" for XC functionals made longer
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5591 c92efa57-630b-4861-b058-cf58834340f0
2009-06-11 05:44:17 +00:00
dalcorso 7aca05eab7 Bug fix: Avoid to leave allocated variables in dmixp when self consistency
is not reached.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5589 c92efa57-630b-4861-b058-cf58834340f0
2009-06-09 07:01:12 +00:00
dalcorso fec02690a1 Cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5543 c92efa57-630b-4861-b058-cf58834340f0
2009-05-01 13:05:52 +00:00
dalcorso 493b6d8894 In the paw case Q pseudization is done elsewhere. No need to make it here.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5542 c92efa57-630b-4861-b058-cf58834340f0
2009-05-01 13:01:32 +00:00
dalcorso 4e4f8bd51d Output shortened.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5541 c92efa57-630b-4861-b058-cf58834340f0
2009-05-01 12:53:06 +00:00
dalcorso e36788bbbe Use rmatch_augfun also in the US case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5540 c92efa57-630b-4861-b058-cf58834340f0
2009-05-01 12:44:37 +00:00
ccavazzoni 74b4c93220 - outdated dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5506 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 08:02:28 +00:00
dalcorso a9ca72c570 Added a check to avoid the possibility of an infinite loop.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5499 c92efa57-630b-4861-b058-cf58834340f0
2009-04-03 09:28:54 +00:00
paulatto 8140bf6589 UPFv2.0.1 introduced with a check for bug reported by ADC on 2009/03/16
(In the new UPF-PP format some components of qrad were not written in the
UPF file) in order to force re-generation of bad pseudos.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5495 c92efa57-630b-4861-b058-cf58834340f0
2009-04-02 16:11:13 +00:00
dalcorso fb6d1f0d62 Other routines with unused variables, and removed old unused routines.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5448 c92efa57-630b-4861-b058-cf58834340f0
2009-02-25 16:51:30 +00:00
dalcorso 8fb44cb805 Small bug fix: problem with format.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5446 c92efa57-630b-4861-b058-cf58834340f0
2009-02-25 16:30:04 +00:00
dalcorso a2b5ab5e50 Minor partial cleanup. Many routines declared unused variables. Many others
could be cleaned.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5445 c92efa57-630b-4861-b058-cf58834340f0
2009-02-25 15:58:53 +00:00
giannozz 8cab67540f First attempt towards an easier to plot format for atomic pseudo-wavefunctions.
Not sure it works in all cases, though. The format of file_wavefunctionsps
is basically unchanged, but all-electron wavefunctions are added in the
right side of the file, with the same ordering and lables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5386 c92efa57-630b-4861-b058-cf58834340f0
2009-02-06 18:17:17 +00:00
giannozz 5367f42e42 More explicit error message
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5384 c92efa57-630b-4861-b058-cf58834340f0
2009-02-04 20:57:48 +00:00
giannozz 3b55e4d268 Uninitialized variables related to 1/r pseudopotentials
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5363 c92efa57-630b-4861-b058-cf58834340f0
2009-02-01 14:27:53 +00:00
giannozz 6f52984cd2 Only one random number generator is used everywhere ("randy", which
seems to be the most uniform). Beware all kinds of unexpected side
effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5272 c92efa57-630b-4861-b058-cf58834340f0
2008-11-05 20:25:20 +00:00
paulatto 2a83455012 Little voodoo change in paw_onecenter to prevent extremely uncommond but
strange problems with more recent versions of openmpi libraries.

Removed unnecessary debug prints from gener_pseudo

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5061 c92efa57-630b-4861-b058-cf58834340f0
2008-07-22 12:41:30 +00:00
paulatto e5419c311d Removed unnecessary call (augmentation for PAW is computed later).
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5028 c92efa57-630b-4861-b058-cf58834340f0
2008-06-28 13:21:02 +00:00
seitsonen 9239bace4f Changed the format of the version of UPF from 'a3' (was: "0.1") to 'a1',
in reality integer, because this is the format that some one changed for
reading in: less flexible, but easier. This should fix the "incompatibility"
that some people have experienced when performing calculations with GIPAW;
does not affect other calculations!

       apsi = Ari P Seitsonen


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4991 c92efa57-630b-4861-b058-cf58834340f0
2008-06-17 09:00:53 +00:00
degironc aa21287088 New feature, density counter-charge correction (I.Dabo+N.marzari), added.
It allows to treat a molecular system in open boundary conditions.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4973 c92efa57-630b-4861-b058-cf58834340f0
2008-06-11 10:47:40 +00:00
sclauzer 011b4565d1 Added subroutine compute_relpert in atomic/ in order to compute
relativistic corrections to AE eigenvalues in perturbation theory.
The option is activated with the flag relpert and is available
only for non-relativistic, spin-unpolarized AE calculations.
Minor modifications to scf and all_electron were needed to access SIC potentials,
that now are global and allocated in all_electron (no more in scf).
G. Sclauzero


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4957 c92efa57-630b-4861-b058-cf58834340f0
2008-05-30 09:43:42 +00:00
dalcorso 5ec1b8367e Routine write_fake_pseudo extracted from ld1.f90 and named write_ae_pseudo.
Initialized some uninitialized variables that are written in the UPF file.
A bug fix: the list of the wavefunctions was not written correctly by
pseudo_header.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4941 c92efa57-630b-4861-b058-cf58834340f0
2008-05-17 10:36:59 +00:00
degironc 680300adb0 calculation on OEP was problematic for one-electron case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4902 c92efa57-630b-4861-b058-cf58834340f0
2008-05-09 15:55:01 +00:00
giannozz dbc8e7ebe8 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4858 c92efa57-630b-4861-b058-cf58834340f0
2008-05-02 13:14:09 +00:00
dalcorso 05fcf885e4 Misleading output corrected.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4854 c92efa57-630b-4861-b058-cf58834340f0
2008-04-30 14:02:57 +00:00
dalcorso 12b9b8d5b6 Bug fix: after the recent commits the atomic code was unable to make the
test of a paw pseudopotential.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4849 c92efa57-630b-4861-b058-cf58834340f0
2008-04-29 13:36:38 +00:00
cavazzon 1ddc5f0539 - pseudo_type/grid nullification still was giving problem (gfortran).
- Logic now changed, variables are nullified as soon as they are
  instantiated. radial_grid rgrid made allocatable
- all tests passed with ifort. xlf, pgi, gfortran will follow


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4838 c92efa57-630b-4861-b058-cf58834340f0
2008-04-27 08:58:55 +00:00
paulatto cf72423040 nullify_pseudo_upf: modified according to advice from Nathalie, plus added a few missing "nullify"
fixed a few overflows in atomic (atomic/atomic_paw.f90, atomic/partial_wave_expansion.f90)
fixed a few wrong format specifiers (Modules/write_upf_v2.f90)
try to make error messages from self-consistency in atomic easier to interpret and fix
    (atomic/ascheqps.f90)
added a mechanism to save the configuration used to generate it in the INFO section of
a pseudopotential.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4836 c92efa57-630b-4861-b058-cf58834340f0
2008-04-24 15:26:26 +00:00
paulatto 3f53529e78 bugfix, as radial grids are now only allocated up to mesh.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4820 c92efa57-630b-4861-b058-cf58834340f0
2008-04-18 12:36:15 +00:00
giannozz c85f1c444e Minor changes tothe qexml file format, by AF: in particular, added the
flag reporting whether only half G-vector sphere is present (not
actually used in q-e but it may be useful for other codes). make.depend
updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4819 c92efa57-630b-4861-b058-cf58834340f0
2008-04-18 12:29:55 +00:00
paulatto 651f6ec9c3 On popular request: added the possibility to save all-electron and pseudo
wavefunctions in the UPF (only v2) file. Pseudopotential and documentation
changed accordingly.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4811 c92efa57-630b-4861-b058-cf58834340f0
2008-04-16 10:12:11 +00:00
paulatto bdf4c53d8c bugfixes
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4803 c92efa57-630b-4861-b058-cf58834340f0
2008-04-15 13:45:10 +00:00
giannozz d35b8c9871 Minor compilation problems: 1) do loops with real bounds are dangerous and
some compilers complain 2) optimize_ohi.o non existent


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4797 c92efa57-630b-4861-b058-cf58834340f0
2008-04-13 14:35:43 +00:00
paulatto 9e54c7448f Some more bugfixes and updates in UPF file formats, now it should be almost
finished.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4787 c92efa57-630b-4861-b058-cf58834340f0
2008-04-09 14:51:58 +00:00
paulatto ec93b289d9 Removed missing object compute_chi_num
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4775 c92efa57-630b-4861-b058-cf58834340f0
2008-04-04 16:22:57 +00:00
giannozz f577757c85 Changes by Andrea Ferretti to make the qexml format more rational:
version number added to the file, so that we have a way to deal with
incompatible changes in the future; miscellaneous tags put into a
CONTROL files; field IONS made uniform with the rest of the file;
rationalization of the names of tag STARTING_MAG (now MAGNETIZATION_INIT),
uniform tag structure (as for IONS above). Some of these changes are
incompatible with the previous format, but it will still possible to
read files from previous versions, though. Only third-party software
reading the qexml format may be affected, but it is unlikely that there
is any (in addition to those by AF)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4774 c92efa57-630b-4861-b058-cf58834340f0
2008-04-04 14:34:52 +00:00
paulatto 49e4c0ad23 More bugfixes and pseudos updated accordingly. Paw tests updated again to reduce time a bit..
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4773 c92efa57-630b-4861-b058-cf58834340f0
2008-04-04 14:01:35 +00:00
paulatto 3fd2de8d61 Bugfixes, removed unnecessary pseudo-upf_meta_info type, paw tests and datasets updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4771 c92efa57-630b-4861-b058-cf58834340f0
2008-04-04 09:12:30 +00:00
paulatto ba4e005094 This is a quite complex check-in, but actually not very much is done. Changelog follows.
LP

UPF file format updated completely, UPFv2 introduced:
* ld1.x can still produce old format, with the switch upf_v1_format=.true. in inputp
  this is disabled by default, but we can discuss if it should be the opposite.
* pw.x cp.x and all utilities should notice no difference
* some utilities in upftools still need to be updated, anyway conversion UPFv1 to UPFv2
  is very easy, so this should be no big issue
* starting from now to produce an UPF file you need to fill the pseudo_upf derivedd type
  and feed it to write_upf woutine in upf_module (Modules/upf.f90)
* extensive use of iotk

I have tried to make the new format as self contained as possible, e.g. there should be
minimal need for post-processing after the data is read, no more reconstruction of known
quantities, and no more odd syntax to save negligible quantity of space. Also the human
readable section is a bit richer, all the rest is more machine readable.

I hope this will not cause any throuble, and tried really hard to, all examples and all
tests works as fine as before and gives (what really looks like) the same results.

Other changes that I needed to make:
* radial grids are now allocatable, they management is a bit less of a hack too
* paw and uspp augmentation are stored in the same place
* paw print total all-electron energy if all atoms are paw, not very useful, but nice
* most of the pseudopotential-writing reading files have been renamed to  some more
  logical name, I spare you the list. E.g. read_oldpseudo -> read_pseudo_rrkj3
* paw_t derived type was only used in atomic, so I have put it there (as the pseudo_type
  module take ages to recompile it was awkward to leave it there).

PAW tests inserted in test/ there are 6 of them, as a consequence I have also put 5 paw
pseudopotentials in the pseudo/ directory.

I will update the PAW scf examples soon, by deleting them (as running a pw with a PAW
pseudopotential requires no option at all). PAW generation examples should be updated.

A lot of small bugfixes here & there mostly uninitialized variables or unallocated
pointers used as subrotuine arguments.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4769 c92efa57-630b-4861-b058-cf58834340f0
2008-04-03 15:50:43 +00:00
seitsonen b8985b69d4 Added the possibility for obtaining the information for (GI)PAW
reconstruction. Most significant changes:
 - Added variable 'lgipaw_reconstruction' (also in namelist 'inputp')
 - Made 'lpaw' optional in 'write_pseudo_paw()' (in 'write_upf.f90')
 - New file/routine 'calculate_gipaw_orbitals()'

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4750 c92efa57-630b-4861-b058-cf58834340f0
2008-03-19 15:44:19 +00:00
seitsonen eebd2ea745 Introduced new variables to store
- the reference energies for the test configurations (enltsc[,])
  - variables to store data for the (GI)PAW reconstruction (wfc_??_recon[,])

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4746 c92efa57-630b-4861-b058-cf58834340f0
2008-03-18 14:24:55 +00:00
giannozz 4dc4266f0b Misc small changes for Alpha compilation warning, by G. Cantele
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4731 c92efa57-630b-4861-b058-cf58834340f0
2008-03-06 20:02:06 +00:00
paulatto 5fd01399ea Added the possibility to pseudize real augmentation augmentation functions for
PAW (which_augfun='PSQ'): it reuses the routine pseudo_q writen by ADC for the
ultrasoft case.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4724 c92efa57-630b-4861-b058-cf58834340f0
2008-02-23 14:26:05 +00:00
dalcorso 37e3657464 Bug fix: the previous bug fix to this routine produced an instability in
some cases.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4722 c92efa57-630b-4861-b058-cf58834340f0
2008-02-20 15:21:07 +00:00
paulatto 40ab3e104e Minor fix on previous commit...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4692 c92efa57-630b-4861-b058-cf58834340f0
2008-02-12 10:57:10 +00:00
paulatto 3786c0ec89 BUGFIX: fixed some possible crash/stop due to tests of local channel.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4691 c92efa57-630b-4861-b058-cf58834340f0
2008-02-12 10:24:16 +00:00
giannozz c8517bff3e Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4688 c92efa57-630b-4861-b058-cf58834340f0
2008-02-11 11:40:59 +00:00
degironc 71bdb977ac better estimate of the range of beta functions
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4672 c92efa57-630b-4861-b058-cf58834340f0
2008-02-02 09:26:37 +00:00
degironc 1b67fc9534 calculate also the Fourier expansion of betas, NC and US partial waves
and the convergence of their norm as a function of the maximum q in the
expansion


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4671 c92efa57-630b-4861-b058-cf58834340f0
2008-02-02 07:44:17 +00:00
degironc f8783a2a34 added a routine that calcuate a quality index for partial wave expansion
of radial solutions at fixed energies in terms of partial waves.
It is computed on the same energy range as the logarithmic derivatives and
indicate how well the psuedo wfc are given by a linear combinationo of partial waves as assumed by the PAW formalism.

A more reasonable (less unreasonable) estimate of the suggested charge density
cutoff for augmentation charges in the paw case is given


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4670 c92efa57-630b-4861-b058-cf58834340f0
2008-02-02 07:25:52 +00:00
paulatto 6d1f959847 Modified unsafe versione intended for testing only slipped in CVS.
Restored to previous versione, sorry for the inconvenience.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4665 c92efa57-630b-4861-b058-cf58834340f0
2008-01-29 15:22:44 +00:00
dalcorso 5a17c94f8c Now the atomic code stops if the solution of the PS-KS equation fails
during the generation-test.
Corrected the bug noticed by Lazaro Calderin.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4664 c92efa57-630b-4861-b058-cf58834340f0
2008-01-29 14:55:30 +00:00
paulatto 189db5755f A few more verbose error messages and a bit of cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4656 c92efa57-630b-4861-b058-cf58834340f0
2008-01-24 16:55:47 +00:00
cavazzon 71ed8c1c24 - wrong extra token "," present in a write statement
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4645 c92efa57-630b-4861-b058-cf58834340f0
2008-01-23 17:17:23 +00:00
paulatto 7cfe0d4544 fix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4640 c92efa57-630b-4861-b058-cf58834340f0
2008-01-23 14:28:44 +00:00
degironc 8feac19aff A new option (lloc=-2) is introduced in order to define a local potential
(expanded in l=0 Bessel functions) that is smooth AND satisfies the
condition V''(0)=0 .
According to TM this condition makes the pseudo optimally smooth and
helps making it transferable...
In any case the resulting potential seams to be less deep than the ones
obtained with lloc=-1 which should help avoiding ghost states.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4639 c92efa57-630b-4861-b058-cf58834340f0
2008-01-22 22:40:27 +00:00
paulatto 1ff7ac8dd9 Error messages a bit more verbose.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4626 c92efa57-630b-4861-b058-cf58834340f0
2008-01-15 15:44:04 +00:00
paulatto 617aec1ad5 default which_augfun changed from AE to BESSEL for PAW, as using AE would produce
unusable dataset (if not using lnc2paw). Documentation changed accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4622 c92efa57-630b-4861-b058-cf58834340f0
2008-01-14 08:46:26 +00:00
degironc f6e10ea61b some changes in atomic code.
- compute_phius: if (verbosity=="high") some additional info is written.

- find_qi: improved solution search close to asintotes. It should be able
      to find the lowest solutions even for large logarithmic derivatives.

- ld1_readin: 'US requires at least two energies per channel' is now a
      rather visible WARNING rather than an error in order to allow to
      play with single projectors (according to Bloechl it may be useful
      to locate the position where to put the second projector).

- set_psi_in: normalization of scattering states changed in order to avoid
      very large wfc when a node happens to be close to the matching radius.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4621 c92efa57-630b-4861-b058-cf58834340f0
2008-01-13 21:55:08 +00:00
cavazzon b739a98bae - removing modules: pfft pffts para_const
they contains only copies of variables contained in
  fft data structures: dfftp dffts


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4605 c92efa57-630b-4861-b058-cf58834340f0
2008-01-05 19:27:35 +00:00
giannozz 231f4e72cc "error" moved from flib/ to Modules/, as suggested by Axel, into
Modules/error_handler.f90 . Not really an elegant solution, since
the module in error_handler is never used and subroutine "errore"
is not in the module, but better than it used to be. All makefiles
and make.depend updated (fixes yesterday's linking error as well).
Minor changes here and there as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4591 c92efa57-630b-4861-b058-cf58834340f0
2008-01-03 09:02:32 +00:00
dalcorso 2ccc81ee03 Missing routine in previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4544 c92efa57-630b-4861-b058-cf58834340f0
2007-12-20 15:46:00 +00:00
dalcorso fbb6ad1f96 PAW Q pseudization could not work in the US-PP case. Substituted with a
different pseudization in the US case (still experimental).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4543 c92efa57-630b-4861-b058-cf58834340f0
2007-12-20 15:36:19 +00:00
degironc 5bf570513b bfgs minimization has been added to the vc-relax calculation.
Scaled (crystal) coordinates (+ cell if needed) are used in the relazation.
In the normal case it shouls behave exactly as usual.
CVSexample has been updated adding an example for this feature...
Once reasonably tested and robust it may be better to move these cases in
exanple03 that contains other relaxation examples.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4536 c92efa57-630b-4861-b058-cf58834340f0
2007-12-19 14:41:24 +00:00
dalcorso 8fa9da661f Bug fix. In unfortunate cases the routine used a non initialized variable.
(Thanks to L. Paulatto).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4535 c92efa57-630b-4861-b058-cf58834340f0
2007-12-19 14:07:33 +00:00
paulatto 3f4cc01569 Trying to simplify paw self-consistency I have put becsum into the scf type, this requires a bit of a hack.
Symmetrization of becsum simplified a bit introducing mapping to "triangular" composite index.
Read upf now uses default (*) format for paw part.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4529 c92efa57-630b-4861-b058-cf58834340f0
2007-12-14 14:22:10 +00:00
dalcorso 248eca4ff1 Cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4525 c92efa57-630b-4861-b058-cf58834340f0
2007-12-14 08:28:54 +00:00
degironc 0141bb6d0c update of several PAW routines.
global auxiliary variable saved%v removed and replace by a smaller local array.
ddd_PAW has now the same indexing structure as becsum.

miscellaneous:
- defined undefined variable ze2=0 in ascheqps
- ibnd_up/dw initialized in print_ks_energies.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4517 c92efa57-630b-4861-b058-cf58834340f0
2007-12-11 22:46:03 +00:00
dalcorso c26e5c0666 Small changes just to avoid multiple output with several processors.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4504 c92efa57-630b-4861-b058-cf58834340f0
2007-12-05 16:16:59 +00:00
dalcorso 84f14633a7 Improvements on yesterday commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4474 c92efa57-630b-4861-b058-cf58834340f0
2007-11-23 17:35:15 +00:00
dalcorso 83fd204abb The atomic code can now test the PAW.UPF pseudopotentials.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4466 c92efa57-630b-4861-b058-cf58834340f0
2007-11-22 11:14:31 +00:00
paulatto 2239472597 Fixes: ld1 test of upf types was not working anymore (same as reason as CP).
Mods: removed read_paw module and .PAW temporary format support. Makefiles and
make.depend updated accordingly.
Fixes in ld1: test of upf types was not working anymore (same as reason as CP),
added deallocation of pawsetup. As testing of PAW without generation may not
work yet I have put a big error for it.
Other: simpson_cp90 was pretending to be simpson in error messages


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4461 c92efa57-630b-4861-b058-cf58834340f0
2007-11-21 10:39:48 +00:00
paulatto 73e6ffea68 Minor fixes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4458 c92efa57-630b-4861-b058-cf58834340f0
2007-11-20 14:36:41 +00:00
paulatto 68bd232899 A lot of little improvements and little new features have been added to PAW
routines, actually results should be the same, and execution time should be
a lot shorter.
 * each atom type now integrated to a different max(l)
 * max(l) tuned in order to exclude the non local channel of pseudo-
   potential, if it's empty
 * several implementation optimization
 * all occurences of ALLOCATABLE changed to POINTER inside derived types
 * added original Bloechl shape for augmentation charge, at the moment it
   is not useful but if someone wants to implement analylitical correction
   to overlaps...
 * PAW now uses UPF format, the format is still being tested: it will
   probably change a bit in the near future
 * as a consequence radial grids are now pointed from upf type and can be
   updated directly in read_upf, upf_to_internal don't have to set the grid
   anymore (at the moment only for pseudos read from upf files)
 * added a non-destructive check for abs(zeta)>1. in vxc_t
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4449 c92efa57-630b-4861-b058-cf58834340f0
2007-11-19 16:20:26 +00:00
cavazzon bf74ac09d1 - new file mp_base.f90 containing mpi wrapper for block communications,
like in it was in reduce sub of PW. This is to avoid large temporary
  array allocations in module mp.f90 (mp.f90 calls subs in mp_base.f90).
  On the other hands mp.f90 provide the general interfaces for different
  kind of data and data size checking.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4441 c92efa57-630b-4861-b058-cf58834340f0
2007-11-17 14:32:10 +00:00
dalcorso e97a34174c The pseudization of the Q functions exported also to the US-PP.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4434 c92efa57-630b-4861-b058-cf58834340f0
2007-11-13 17:42:29 +00:00
paulatto dce5f820da Paw code moved around and unused functions removed; old grid_paw code removed.
This is the first step of code cleanup. Actually nothing should change.

rad_paw_routines -> paw_onecenter (2 functions went to paw_init)
grid_paw_variables -> paw_variables (with some additions from rad_paw_routines)
grid_paw_routines -> paw_init (merged with 2 init functions from rad_paw)

Probably there are a few random fixes around.

Next step: remove ndmx and ntpx.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4422 c92efa57-630b-4861-b058-cf58834340f0
2007-11-12 14:49:09 +00:00
paulatto 9cf058b67c Commented out very verbose debug code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4413 c92efa57-630b-4861-b058-cf58834340f0
2007-11-09 12:46:18 +00:00
degironc 33a9eac8b4 make.depend updates + a couple of small additions in PW/rad_paw_routines and atomic/c6_tfvw
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4378 c92efa57-630b-4861-b058-cf58834340f0
2007-10-31 10:31:55 +00:00
giannozz 76aafc384e Added the possibility to perform calculations using the true Coulomb
potential instead of a pseudopotential. May or may not work! only for pw.x
and only for people knowing what they are doing. It requires the generation
of a fake UPF pseudo containing a radial grid, atomic wavefunctions, little
else, using the modified version of ld1.x (option "write_coulomb=.true.").


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4374 c92efa57-630b-4861-b058-cf58834340f0
2007-10-29 13:47:45 +00:00