Commit Graph

44 Commits

Author SHA1 Message Date
riccardo bc21554b27 Added the non-local (nlc) flag to the dft definition. Now PP and dft
needs five interegers to be fully defined (all the back-compatibility
has been respected).

Added drivers and functions to implement new non-local functionals.

Added the vdw-DF2 (to test).

Fixed how shortnames are handled in input (funct.f90)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7706 c92efa57-630b-4861-b058-cf58834340f0
2011-04-27 15:18:18 +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
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 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
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 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
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
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 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
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 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
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
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
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 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 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
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
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
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 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
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
paulatto d858b4a51b New PAW version, now completely working on radial grid. Code on FFT grid can still be compiled using __GRID_PAW flag (but may not work a
nymore). Other things working: parallel, gamma-only.

Files vxc_t, exc_t and vxcgc moved from atomic to Modules (to prevent cyclic dependencies).

Other random fixes: a kind in init_vloc, a call to infomsg in ./PH/add_for_charges.f90.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4358 c92efa57-630b-4861-b058-cf58834340f0
2007-10-22 14:54:29 +00:00
dalcorso 98bf9b1e4c Reintroduced the changes to the paw pseudopotential generetion, not merged
in the commit of two days ago.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4270 c92efa57-630b-4861-b058-cf58834340f0
2007-09-20 08:24:33 +00:00
paulatto 08fedbe2f0 SCF with Projector-Augmented Wave Pseudopotential (PAW) routines added.
This means that a lot of routines have been modified and a few files have
been added. During the year several people have contributed to this code,
mainly Guido Fratesi, Ricardo Mazzarello, Stefano de Gironcoli, Andrea Dal
Corso and me (Lorenzo Paulatto).

A brief report of modified or added files follows, further down you will
find a loger report of modifications that was necessary to merge develop_PAW
branch with the current CVS version.

Current version is not 100% functional, but it doesn't brake anything else and
can be used to generate and test PAW pseudopotential.

      *************************************
      *** Brief report of modifications ***
      *************************************
Modified files:
PW/clean_pw.f90
PW/electrons.f90
PW/print_clock_pw.f90
PW/hinit0.f90
PW/potinit.f90
PW/newd.f90
PW/summary.f90
PW/setup.f90
PW/read_pseudo.f90
PW/init_us_1.f90
PW/init_run.f90
PW/mix_rho.f90
atomic/atomic_paw.f90
atomic/write_paw_recon.f90
atomic/ld1_writeout.f90
atomic/write_resultsps.f90
atomic/ld1inc.f90
atomic/ld1_readin.f90
atomic/gener_pseudo.f90
atomic/parameters.f900
atomic/run_pseudo.f900
atomic/set_rho_core.f90
atomic/pseudovloc.f90
Modules/read_upf.f90
Modules/uspp.f90
Modules/pseudo_types.f90
Modules/parameters.f90

Added files:
PW/grid_paw_routines.f90
PW/rad_paw_routines.f90
Modules/grid_paw_variables.f90
Modules/read_paw.f90

Added files that will be removed:
PW/rad_paw_trash.f90
PW/paw_xc.f90

Examples:
examples/PAWexample contains a full test of PAW pseudopotential
for Oxygen. The test consist in these tasks:
 - 2 norm conserving, 2 US and 4 PAW pseudopotentials are
   generated and tested in ld1
 - pw test for an isolated O atom at different cutoffs
 - pw test for an O2 molecule at different O-O distance
please read examples/PAWexample/README for (a few) details.

NOTES:
1. new modifications to atomic_paw (and related) from ADC have been rolled
   back, as they were breaking a lot of things, I will reintroduce them
   later when I am sure that everything works properly.
2. the files PW/paw_xc.f90 and Modules/rad_paw_trash.f90 will be removed in
   the next few weeks.

TODO:
1. use new ld1 XC code as much as possible, and remove legacy XC routines
   from rad_paw_routines
2. full self-consistency with radial energies
3. make new Harris-Foulkes estimate paw-aware
4. provide some kind error estimate
5. FORCES and stress!! (require symmetrization of becsums)
6. cleanup

    ************************
    *** merge of PW code ***
    ************************
Versions notation:
OLD=version from 2 years ago used as reference to generate the patches
NEW=CURRENT=current trunk version
PAW=current develop_PAW version

Note: pseudo-potential input and allocation routines changed
      a lot in the last years, this is a diagram:
OLD:PW/readin ~~> PAW:PW/read_pseudo --> disappears
pops out --> PAW:PW/readin ~~> NEW:PW/read_pseudo

added files:
Modules/read_paw.f90    (contains module read_paw_module with subroutines
                         paw_io nullify_pseudo_paw, allocate_pseudo_paw and
                         deallocate_pseudo_paw previously in removed file
                         Modules/readpseudo.f90. Also contains module
                         paw_to_internal with subroutine set_pseudo_paw,
                         previously in upf_to_internal.f90)
PW/paw_xc.f90           (contains OLD=PAW xc and gcxc routines as adapting paw
                         grid code to use new routines was very error prone and
                         quite worthless, as it has to be removed anyway)

Conflicts reported by CVS during merge:
DONE */Makefiles                    (all replaced with new, redone by hand)

DONE  flib/functionals.f90          (nothing to do)

DONE Modules/functionals.f90        (RNV == replaced with NEW version)
DONE Modules/atom.f90               (trivial: duped rgrid)
DONE Modules/autopilot.f90          (trivial)
DONE Modules/bfgs_module.f90        (RNV)
DONE Modules/cell_base.f90          (RNV)
DONE Modules/check_stop.f90         (RNV)
DONE Modules/constants.f90          (RNV)
DONE Modules/constraints_module.f90 (RNV)
DONE Modules/energies.f90           (RNV)
DONE Modules/input_parameters.f90   (RNV)
DONE Modules/ions_base.f90          (RNV, has 3 new subs)
DONE Modules/ions_nose.f90          (RNV)
DONE Modules/parameters.f90         (actually RNV)
DONE Modules/path_base.f90          (RNV)
DONE Modules/path_opt_routines.f90  (RNV)
DONE Modules/path_reparametrisation.f90 (RNV)
DONE Modules/path_variables.f90     (RNV)
DONE Modules/pseudo_types.f90       (cleaned double def of paw_t)
DONE Modules/read_cards.f90         (RNV)
DONE Modules/read_namelists.f90     (checked and RNV)
DONE Modules/uspp.f90               (trivial)
DONE Modules/xml_io_base.f90        (RNV)

DONE PW/read_pseudo.f90             (merged by hand with PAW PW/readin)

DONE PW/bp_calc_btq.f90             (trivial)
DONE PW/c_bands.f90                 (actually RNV)
DONE PW/ccgdiagg.f90                (RNV)
DONE PW/cegterg.f90                 (RNV)
DONE PW/cft3s.f90                   (RNV)
DONE PW/cinitcgg.f90                (RNV)
DONE PW/c_phase_field.f90           (RNV)
DONE PW/divide_et_impera.f90        (nothing to do?)
DONE PW/exx.f90                     (RNV)
DONE PW/hinit0.f90                  (easy)
DONE PW/h_psi.f90                   (RNV)
DONE PW/init_run.f90                (easy)
DONE PW/kpoint_grid.f90             (nothing to do?)
DONE PW/newd.f90                    (required mod in newd_paw_grid, CHECK!!)
DONE PW/openfil.f90                 (actually RNV)
DONE PW/paw.f90                     (actually RNV)
DONE PW/punch.f90                   (RNV)
DONE PW/pwscf.f90                   (quite RNV)
DONE PW/set_kup_and_kdw.f90         (RNV)
DONE PW/setup.f90                   (RNV + 2 line merged by hand)
DONE PW/sgama.f9                    (actually RNV)
DONE PW/sgam_at_mag.f90             (actually RNV)
DONE PW/stop_run.f90                (actually RNV)
DONE PW/stres_gradcorr.f90          (actually RNV)
DONE PW/symrho_mag.f90              (nothing to do)
DONE PW/v_of_rho.f90                (RNV)

DONE PW/compute_fes_grads.f90       (RNV)
DONE PW/gradcorr.f90                (RNV)
DONE PW/input.f90                   (RNV)
DONE PW/pw_restart.f90              (RNV)
DONE PW/read_ncpp.f90               (actually RNV)
DONE PW/summary.f90                 (RNV + inserted new PP type)
DONE PW/wfcinit.f90                 (RNV)

the hard ones:
DONE PW/electrons.f90   (adapted code to new syntaxes, a lot of cleanup, removed
                         some PAW junk that can be readded later, removed parts
                         that were applyed twice, or had been removed in trunk,
                         the rhog allocations and usage may need fixes)
DONE PW/mix_rho.f90     (merged tauk and paw additions, a bit of cleanup and smarter
                         variables names)
DONE PW/init_us_1.f90   (qtot redefined with "triangular" index nb,mb-->ijv)

modified for compiling:
Modules/io_files.f90    (depatched)
PW/pwcom.f90            (depatched)
Modules/parameters.f90  (temporary readded cp_lmax = lmaxx+1)
PW/newd.f90             (merge was wrong, redone mostly by hand)
PW/read_ncpp.f90        (depatched)
PW/read_pseudo          (small fixes)
PW/sgam_at_mag.f90      (depatched)
PW/sgama.f90            (depatched)
PW/stres_gradcorr.f90   (depatched)

modified for running:
PW/clean_pw.f90         (added call to deallocate_paw_internals)

Modifications to PAW routines:
1. compute_onecenter_charges and compute_onecenter_charges modified to
   comply with new structure of v_xc (in v_of_rho.f90), requiring new
   g-space densities to be saved and computed --> using old xc routines
   as this code will be removed.
2. qrad size has changed, prad and ptrad had to be changed accordingly.
3. several minor modifications to use new radial grid structure.
4. infomsg arguments changed, very funny bug followed.
5. added new routine deallocate_paw_internals, called by PW/clean_pw.f90
   required to run pp.x with more than one q-point(and good programming
   practice)


    *************************
    *** merge of LD1 code ***
    *************************
2nd try: atomic code replaced with current version, then merge by hand
the files that are used by paw subsystem:
* atomic_paw.f90        (replaced with most recent version from develop_PAW
                         routine us2paw and paw2us taken from newer trunk
                         version, a lot of minor changes.)
* gener_pseudo.f90      (fixes)
* ld1inc.f90            (PAW variables added)
* ld1_readin.f90        (PAW variables added, I am not sure if lpaw should go
                         in input or inputp namelist)
* ld1_writeout.f90      (it was only necessary to add a few lines)
* pseudovloc.f90        (nothing to do)
* run_pseudo.f90        (almost nothing to do)
* set_rho_core.f90      (readded a few lines for lnc2paw)
* write_paw_recon.f90   (nothing to do)
* write_resultsps.f90   (nothing to do: trunk version is more
                         PAW-aware than PAW version)

Main problems were found in subroutines run_pseudo and gen_pseudo,
a little code had to be rewritten to comply with new variable names
and fix with merge.

TODO: fix atomic_paw routines to use minimal allocated arrays insetad
of ndmx sized ones; try to use the pawet as much as possible. Remove
test lines and other garbage. Find a fix for PAW2.

The first week of september Andrea Dal Corso uploaded a few modifications to
the atomic_paw routines. I had to rollback them as the structure of atomic_paw
has changed a lot and reimplementing them is probably easier and definitely
safer than fixing everything. I will do it soon, I swear!

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4257 c92efa57-630b-4861-b058-cf58834340f0
2007-09-18 10:05:46 +00:00
dalcorso 7a3377305d A tentative to improve the paw pseudopotential generation and test.
Main changes:
The PAW file contains three new arrays (els, jjs, rcutus). Please
update the reader in pw to use these pseudopotentials.
The starting charge and wavefunctions are calculated from the all
electron wavefunctions of the current configuration.
The n1 and n1~ charges are set to zero outside the sphere before
computing energies and potentials.
The n1 and n1~ charges are set to zero when n~ becomes lower than
10^-11 before descreening the effective potentials.
The energy terms are exported to the ld1 variables and printed.
Bug fix: The product of the wavefunctions and the projectors is done
until ikk not irc.
Added two examples of generation and test (Cu and Si).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4234 c92efa57-630b-4861-b058-cf58834340f0
2007-09-11 16:00:56 +00:00
dalcorso 8e97fc3d85 Small changes to previous commit. Use the default mesh in the examples.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4146 c92efa57-630b-4861-b058-cf58834340f0
2007-08-17 08:18:59 +00:00
degironc 6da8252f73 a radial_grid_type is introduced in Modules and used in atomic-related part
many changes but results are identical before and after.
sdg


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4127 c92efa57-630b-4861-b058-cf58834340f0
2007-08-12 00:08:53 +00:00
giannozz 0792ed8d25 Call to infomsg simplified, removed the absurd "error -1"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3987 c92efa57-630b-4861-b058-cf58834340f0
2007-06-26 16:46:01 +00:00
dalcorso d0161dea69 Small change: unit 6 substituted with the global variable stdout.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3982 c92efa57-630b-4861-b058-cf58834340f0
2007-06-26 07:38:38 +00:00
giannozz 3a98e2d9d4 More patches from Axel:
- correct an unquoted string (iosys) in PW/input.f90:483
(this was the cause of tonight compilation failere)
- correct a few incorrect format strings
- make more use of the constants module and thus
  provide more consistent units. NOTE, this has some
  numerical changes in the outputs, as in some places
  rather low precision and inconsistent numbers were
  used for unit conversion.
- convert all(?) single precision constants to double
  using the attached little perl program.
  exceptions: efermi.f90 (as it is supposed to be rewritten
  anyways), plotbands.f90 (it uses single precision everywhere,
  which may result in saving a significant amount of memory,
  so i converted the two double precision constants to single).
Unused routine 'set_fft_grid' removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3602 c92efa57-630b-4861-b058-cf58834340f0
2006-12-14 08:53:47 +00:00
giannozz de4c662862 Shorthand for Rydberg is Ry, not ryd
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3476 c92efa57-630b-4861-b058-cf58834340f0
2006-10-23 12:32:54 +00:00
degironc 91433749f9 More small changes to funct module, some clean up of the EXX part.
stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2420 c92efa57-630b-4861-b058-cf58834340f0
2005-11-04 11:47:42 +00:00
degironc c209f8233b Modules/functionals.f90 modified.
The idea is that module funct contains data defining the DFT functional in use
and a number of functions and subroutines to manage them.
Data are PRIVATE and are (shuold be) accessed and set only by function calls.
Basic drivers to compute XC quantities are also included.

It should be the main place where definitions for and calculation of xc
functionals are centralized.

In CPV printout [A.U.] replaced by [HARTREE A.U.] in many places.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2411 c92efa57-630b-4861-b058-cf58834340f0
2005-11-02 15:42:06 +00:00
giannozz 1e42e05f69 error (..., -1) => infomsg
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2142 c92efa57-630b-4861-b058-cf58834340f0
2005-08-30 16:27:58 +00:00
giannozz f533b052d5 dbl => DP (defined as previously dbl was)
syntax for declarations: real(DP), without "kind="


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2135 c92efa57-630b-4861-b058-cf58834340f0
2005-08-28 14:09:42 +00:00
giannozz b7d3d29b11 Added missing copyright notice
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1733 c92efa57-630b-4861-b058-cf58834340f0
2005-03-21 14:33:57 +00:00
fratesi 45fdb7170f Debugging messages removed
G.F


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1626 c92efa57-630b-4861-b058-cf58834340f0
2005-02-08 14:54:28 +00:00
fratesi 7e99fdef86 ld1 should be able to generate and test Projector Augmented Wave setups.
* Experimental *

Guido Fratesi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1625 c92efa57-630b-4861-b058-cf58834340f0
2005-02-08 14:31:57 +00:00