Commit Graph

94 Commits

Author SHA1 Message Date
cavazzon 260828432d - FPMD: pseudopotential variable wsg, wnl, fnl substituted with
dion, beta, bec everyware.
- subroutines formfn, compute_beta, nlsm1, nlsm2, ecc ... now are common
  between FPMD and CPV, a lot of clean ups!
- Changes in stdout: relevant physical quantities ( positions velocities an cell )
  are now printed with the seme format of the corresponding input card,
  like in PW, as was suggested by SdG.
- exemple23 updated to reflect the new input namelist "wannier"
- Subroutine init_run now is used in FPMD too.
- WARNING in the stress computed with CP, for a pseudo with core-corrections,
  a contribution is missing! Not yet fixed, I need to talk with PG for the
  box staff.
- WARNING the examples reference are not updated, I'm on the IBM sp, and
  I prefer to update them from a linux machine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2110 c92efa57-630b-4861-b058-cf58834340f0
2005-08-22 14:14:13 +00:00
degironc eafe340169 special module Modules/metagga.f90 removed.
The "ismeta" variable has been included in Modules/functionals
and calls to which_dft has been simplified.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2094 c92efa57-630b-4861-b058-cf58834340f0
2005-08-08 15:55:06 +00:00
sbraccia ab9fcd0dd3 META-GGA implemented (by Xiaofei Wang) in the CP code for norm-conserving pseudopotentials only.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2019 c92efa57-630b-4861-b058-cf58834340f0
2005-07-13 18:22:42 +00:00
cavazzon 58b2e402ca - bug fix, variable rhoc used and passed as argument in vofrho
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1976 c92efa57-630b-4861-b058-cf58834340f0
2005-06-22 11:08:13 +00:00
cavazzon dbf279e1c3 - restart tags now using those suggested by CS
- flags for core cor. (nlcc, nlcc_any) used in FPMD too
- fixed a bug in read_pseudo.f90 ( related to nlcc )
- other merging anc clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1971 c92efa57-630b-4861-b058-cf58834340f0
2005-06-22 08:28:08 +00:00
umari a635e39a2a In subroutine dforce, fixed support for ensemble DFT
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1911 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 14:41:02 +00:00
cavazzon d3aabc5972 - pseudopotential base modules uspp_param and uspp now used
also in FPMD, for norm-conserving pseudo (like in CP)
- Few clean-ups in pseudopotential parameters initialization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1880 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 21:01:05 +00:00
ballabio cc9d7d7b52 end subroutine --> end subroutine name [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1871 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 08:49:38 +00:00
ballabio 348adb1cc1 end --> end function [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1868 c92efa57-630b-4861-b058-cf58834340f0
2005-05-17 16:46:38 +00:00
sbraccia a00aac0e25 header containing the GPL license added where missing and made omogeneous.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1865 c92efa57-630b-4861-b058-cf58834340f0
2005-05-16 19:19:04 +00:00
ballabio 8604e671af end --> end subroutine [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1858 c92efa57-630b-4861-b058-cf58834340f0
2005-05-12 13:23:41 +00:00
ballabio 1abbac377f *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1857 c92efa57-630b-4861-b058-cf58834340f0
2005-05-12 12:53:37 +00:00
cavazzon f98847f085 - subroutines formfn, compute_rhops have been made code independent and used
by both CP and FPMD
- Now FPMD and CP use the same random wave functions initialization,
  which is also independent from the number of processors,
  very useful for debugging.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1836 c92efa57-630b-4861-b058-cf58834340f0
2005-04-28 15:27:41 +00:00
cavazzon 0219a46b4c - CP clean-ups: eigr, ei1, ei2, ei3, eigrb, ... arrays
now have the same layout (equal to the layout they have in PW)
- iotk files in Modules have been removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1801 c92efa57-630b-4861-b058-cf58834340f0
2005-04-14 21:08:53 +00:00
giannozz de063ad86a Forces with core correction were wrong
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1786 c92efa57-630b-4861-b058-cf58834340f0
2005-04-11 09:17:34 +00:00
giannozz 88f8d004a0 At least some versions of the pgi compiler don't like the "external"
definition with "::" as in "EXTERNAL :: cclock"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1569 c92efa57-630b-4861-b058-cf58834340f0
2005-01-17 18:33:37 +00:00
cavazzon 1733abe068 - more CP90/FPMD merging: fft high level driver, iosys, exchange-correlation
- some subroutine shortened and simplyfied to make compilation easy


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1559 c92efa57-630b-4861-b058-cf58834340f0
2005-01-15 10:53:46 +00:00
cavazzon e32ce9b074 - common xc and gga functionals subroutines for all code PW/CP/FPMD
- Few more functionals has been added to file more_functionals.f90
  since in PW BLYP/LSDA were not implemented .
  In the same file, temporary, are stored old CP90 subroutines
  for testing purpose ( in CP functionals were vectorized!! ).
  The small program PP/xctest.f90 can be used to make a comparative
  test between new and old routines, in case someone suspect a problem
  there.
- buon anno!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1533 c92efa57-630b-4861-b058-cf58834340f0
2004-12-31 11:14:32 +00:00
cavazzon 56322ee7d7 - added ensemble dft
- added ensemble dft / conjugate gradient / electric field
  from Paolo Umari / Marzari code
- NOT YET TESTED!!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1524 c92efa57-630b-4861-b058-cf58834340f0
2004-12-21 15:48:19 +00:00
cavazzon 8fce6bd495 - more CP/FPMD merging
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1485 c92efa57-630b-4861-b058-cf58834340f0
2004-11-26 19:22:35 +00:00
cavazzon 242e9454bf - more merging CP/FPMD
- cleanups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1412 c92efa57-630b-4861-b058-cf58834340f0
2004-11-01 16:43:29 +00:00
giannozz 1648ab6bf2 Patches from Axel Kohlmayer:
- iotk_scan in iotk_module had a mixed up 'intent' statement.
- sun ultra fire 3 compiler warnings
- cleanup in filename length (brought to 256)
- cleanup in include files


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1399 c92efa57-630b-4861-b058-cf58834340f0
2004-10-26 09:32:48 +00:00
cavazzon 95f13e2304 - fix suggested by PG in subroutines Modules/cell_base.f90
and CPV/wf.f90
- More mergings between CPV and FPMD (init, grids setup)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1340 c92efa57-630b-4861-b058-cf58834340f0
2004-09-27 10:05:50 +00:00
cavazzon 1be2feeb88 - more mergings between CP and FPMD
- initialization (both code uses the same ggen)
- now FPMD initializes the small-boxes too (required for untrasoft pseudo)
- print out


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1186 c92efa57-630b-4861-b058-cf58834340f0
2004-08-27 10:20:42 +00:00
cavazzon e163a007ef - further merging of low level subroutine between FPMD and CP
( cell_move in Module/cell_base.f90 )
- More input parameters check in Module/read_namelists
- For CP, restart file is saved in working directory like in FPMD
  and not in output_dir where MD data are saved, this is because
  usually one keep MD trajectories in home dir.
- added pseudopotential for wannier dynamics example
- added Wannier postprocessing (from Manu Sharma )
- fixed a small bug for FPMD and 'diis' electron dynamics


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1083 c92efa57-630b-4861-b058-cf58834340f0
2004-07-19 17:19:16 +00:00
cavazzon abb62bd0e5 - added module cp_mass (for car-parrinello electronic mass)
- cpr.f90 lot of staff moved to subroutines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1073 c92efa57-630b-4861-b058-cf58834340f0
2004-07-15 10:48:54 +00:00
giannozz 1e3a9209e3 Removed references to nonexistent routines or variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1057 c92efa57-630b-4861-b058-cf58834340f0
2004-07-10 16:15:26 +00:00
cavazzon 45f757ca52 - New kind of calculation cp-wf added
- varius fix for CP with wannier functions,
  now I'm able to run Sharma examples,
  but the code is still not fully tested
- fix in readpp for pseudo different from UPF


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1050 c92efa57-630b-4861-b058-cf58834340f0
2004-07-07 15:23:47 +00:00
cavazzon 9102734252 - some elimination of duplicated code
- new subroutines for CP with Wannier Functions
  as implemented by Manu Sharma
  (not yet tested)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1047 c92efa57-630b-4861-b058-cf58834340f0
2004-07-06 15:21:25 +00:00
cavazzon 50a493218b - fix io_base bug with array tetra
- added to CPV the string dynimics as implemented
  by Yosuke (not fully tested yet)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1024 c92efa57-630b-4861-b058-cf58834340f0
2004-06-29 18:12:51 +00:00
sbraccia 0caeadbd7b Machine-dependent definitions are now contained in two different files (both in /include):
1) f_defs.h  for definitions to be included in FORTRAN files ONLY
   2) c_defs.h  for definitions to be included in C       files ONLY

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1012 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 17:25:37 +00:00
giannozz 4bd85e0a42 exfact is a real number ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1010 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 16:59:10 +00:00
giannozz 43b1b240b7 No need to have a spin index in dvan
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@988 c92efa57-630b-4861-b058-cf58834340f0
2004-06-22 08:03:59 +00:00
giannozz 6fdd5d0252 minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@956 c92efa57-630b-4861-b058-cf58834340f0
2004-06-13 10:10:14 +00:00
giannozz ffcadc34c1 Modules becmod, rbecmod (one variable each) merged into a single module
(with two variables...) - More USPP merge


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@954 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 20:37:01 +00:00
giannozz df51dc0b2a More USPP variables moving around
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@937 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 21:22:19 +00:00
giannozz c16e3106a9 More tweaking with USPP variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@936 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 16:50:03 +00:00
giannozz 598adf557a More USPP_related variables moved to Modules/uspp.f90
Note that nhx => nhm for consistency with other names
(those ending in x are static dimensioning)
Parameter ipp no longer needed: PP name convention as in PWscf (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@932 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 17:52:55 +00:00
giannozz 4a5732790a Part of the variables for ultrasoft pseudopotentials have been moved to a
new module uspp_param, shared between PW and CP (in file Modules/uspp.f90)
The flag newpseudo is no longer used to decide whether states with oc=0 are
bound or not: for those states, and only for the old RRKJ format, oc is set
to a negative value, and this signals that they are not bound. Not elegant
but simpler than it used to be. The converter to UPF format did not include
those states anyway. Beware unexpected side effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@914 c92efa57-630b-4861-b058-cf58834340f0
2004-05-26 11:04:07 +00:00
giannozz f4c0dbe91a FIxed core correction bug introduced yesterday
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@834 c92efa57-630b-4861-b058-cf58834340f0
2004-04-29 09:43:05 +00:00
giannozz d69e112706 More PP cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@828 c92efa57-630b-4861-b058-cf58834340f0
2004-04-28 10:25:36 +00:00
giannozz 150ae509f3 more pseudopotential cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@824 c92efa57-630b-4861-b058-cf58834340f0
2004-04-27 13:44:55 +00:00
cavazzon e14fed6180 bug fix with the use of clocks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@823 c92efa57-630b-4861-b058-cf58834340f0
2004-04-27 08:43:02 +00:00
giannozz d11e803883 PP cleanup and merge: rucore => vloc_at
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@822 c92efa57-630b-4861-b058-cf58834340f0
2004-04-26 15:02:25 +00:00
giannozz d198ebad0c ndm, mmaxx => ndmx ; 0:ndm => ndmx (starting from 0 no longer needed)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@815 c92efa57-630b-4861-b058-cf58834340f0
2004-04-23 17:10:44 +00:00
giannozz 118fd9975c funct.f90 and which_dft moved to Modules/functionals.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@811 c92efa57-630b-4861-b058-cf58834340f0
2004-04-22 14:28:37 +00:00
giannozz 70e40efc0c L=3 sort of implemented (untested). ng0 => gstart
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@808 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 17:11:56 +00:00
giannozz 39930b528b More cleanup. l=3 might work
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@807 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 14:51:19 +00:00
giannozz ddf1db2df5 Derivatives of ylm merged, variable cell works again (maybe).
Indices of gx and gxb reversed, cleanup (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@805 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 10:33:55 +00:00
giannozz 5b72fb1897 More USPP harmonization: aainit, spherical harmonics merged -
derivatives of ylm NOT YET, variable cell NOT WORKING


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@803 c92efa57-630b-4861-b058-cf58834340f0
2004-04-19 20:35:42 +00:00