Commit Graph

110 Commits

Author SHA1 Message Date
cavazzon df5e388d3c - fixed a problem with the charge written in restart dir, since
vofrho overwrites rhor, what was written in the restart was the
  potential and not the charge density.
- clean-up in input_parameters and INPUT_CP doc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2248 c92efa57-630b-4861-b058-cf58834340f0
2005-10-01 16:04:41 +00:00
cavazzon 2aa910dda7 - fix in stress calculation for non linear core correction
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2211 c92efa57-630b-4861-b058-cf58834340f0
2005-09-23 12:50:54 +00:00
cavazzon 41c665b82b - Executable fpmd.x no more built, new calculation "fpmd" added, to
execute cp.x with fpmd flavour
 - stress for LSD calculation fixed ( but more test required )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2190 c92efa57-630b-4861-b058-cf58834340f0
2005-09-18 23:49:24 +00:00
sbraccia 5bdf7a3ec8 Clean-up of the code for the calculation of free-energy barriers.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2189 c92efa57-630b-4861-b058-cf58834340f0
2005-09-18 23:10:50 +00:00
sbraccia c959d3dda2 Extensive clean-up and reorganisation of the routines for the calculation
of potential energy and free-energy barriers.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2186 c92efa57-630b-4861-b058-cf58834340f0
2005-09-17 02:35:57 +00:00
sbraccia 605a912480 NEB clean-up; fixed some bugs in the CP implementation. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2165 c92efa57-630b-4861-b058-cf58834340f0
2005-09-11 00:50:13 +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
cavazzon 08a4556d85 - added a subroutine to write the charge density in XML plane by plane
- minor fixes to PW/pw_restart
- Added the possibility to restart using CP from a PW run (at gamma),
  working but still sperimental.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2131 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 09:28:33 +00:00
targacept 9f487bd7ad Adding Autopilot Feature Suite
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2122 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 14:23:09 +00:00
sbraccia dcc1e4ce7e Some buf fix for the implementation of NEB in the CP code.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2121 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 13:17:28 +00:00
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
kkudin c648ecbea0 For more than 1 Nose (chain) thermostat per system added a common thermostat
on top of all the other ones
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2058 c92efa57-630b-4861-b058-cf58834340f0
2005-07-29 03:18:20 +00:00
cavazzon c4101a5e7e - CP/FPMD clean-ups
- CP: NEB is working again! (at least on the case of the example17)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2056 c92efa57-630b-4861-b058-cf58834340f0
2005-07-28 16:30:19 +00:00
kkudin d51341fefb Set electronic kinetic energy for CG to 0
Convert electron_dynamics='cg' to tcg=.true. in CP code
In principle, input variable 'tcg' should be removed at some point
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2026 c92efa57-630b-4861-b058-cf58834340f0
2005-07-15 01:52:50 +00:00
sbraccia d6742230b2 Added a routine that initialise the cp code (previously done in cpr). This routine is called by
cpr_loop. This has required some variables previously local to cpr to be moved into modules.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2016 c92efa57-630b-4861-b058-cf58834340f0
2005-07-12 20:08:01 +00:00
sbraccia 78bdfd0237 Added to cp a subroutine to stop the code (similar to stop_pw).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2011 c92efa57-630b-4861-b058-cf58834340f0
2005-07-10 21:42:23 +00:00
sbraccia dc7b19b093 Cleanup. Removed "#ifdef __SMD" that was set as xlf workaround, with the result that smd stuff was never
compiled and was no longer working.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2009 c92efa57-630b-4861-b058-cf58834340f0
2005-07-10 19:27:43 +00:00
sbraccia 054ff73d71 Fixed another error in the implementation of SHAKE: masses in hartree are twice the masses in rydberges.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2001 c92efa57-630b-4861-b058-cf58834340f0
2005-07-07 19:54:04 +00:00
sbraccia 24957a6321 Cleanup of module dependencies.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2000 c92efa57-630b-4861-b058-cf58834340f0
2005-07-06 23:11:25 +00:00
kkudin 930619e2b2 by Kostya
This patch adds "massive" Nose-Hoover chains for ions (i.e. each ion
can have a separate NH chain attached to it)
Some fixes are still needed in different places:
-the information on the number of NH chains [nhpdim] needs to be
saved and read from the restart file (not done now)
-the NH velocities also need to be all saved [nhpdim*nhpcl]
-an input option needs to be added to zero out the NH velocities during
a restart in order to permit "on the fly" thermostat changes
-deallocation of the module variables gives glibc error with IFC 8.0 & 8.1 in
cpr.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1998 c92efa57-630b-4861-b058-cf58834340f0
2005-07-05 21:02:48 +00:00
cavazzon b5fa8ee14b - cell_base, added support for cell input units, ex: CELL_PARAMETERS (angstrom)
- core charge, same module between CPV and FPMD
- Makefile: added dependency between "mods" and "libiotk"
- Makefile: fix for dependencies in PH and Gamma when __NEWPUNCH is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1995 c92efa57-630b-4861-b058-cf58834340f0
2005-07-04 10:34:44 +00:00
sbraccia 2d5fa8a23e Added a namelist for cp-dynamics with wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1990 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 14:26:10 +00:00
sbraccia 27942f3817 Again some fix for making constrained dynamics compatible with fixed ions.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1987 c92efa57-630b-4861-b058-cf58834340f0
2005-06-30 12:53:18 +00:00
sbraccia d29702d85a Constrained dynamics made compatible with fixed ions (if_pos).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1984 c92efa57-630b-4861-b058-cf58834340f0
2005-06-29 21:22:27 +00:00
sbraccia 504a2945a1 Fixed some bugs in the implementation of SHAKE. MD in PWscf is performed with standard Verlet
algorithm to have a single implementation of SHAKE (velocity Verlet uses RATTLE).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1979 c92efa57-630b-4861-b058-cf58834340f0
2005-06-27 20:21:19 +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
kkudin 62404499fd Added ind_bck array to be used with the CP code. The main purpose is to
be able to print atoms in the input order with atomic labels (and not
sorted). Subroutine print_pos_in needs to be uncommented in cpr.f90, for
now it is not activated in order to double check possible compatibility
issues with other codes. When activated, the file *.pos will have positions
in angstroms readable by any XYZ reader.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1967 c92efa57-630b-4861-b058-cf58834340f0
2005-06-21 22:37:33 +00:00
sbraccia 61f120160f wannier-function CP: the check on convergence must be done starting from the second
CP step.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1923 c92efa57-630b-4861-b058-cf58834340f0
2005-05-28 16:05:19 +00:00
umari d32705b0e9 Now when tens==.true. it allocates also the C.G. arrays.
In call allocate_ensemble_dft changed nat to natx for compatibility with vofrho. P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1912 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 14:45:41 +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
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
sbraccia 7e7dd4b365 Fixed some bugs in the implementation of velocities from input.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1864 c92efa57-630b-4861-b058-cf58834340f0
2005-05-16 19:00:07 +00:00
sbraccia 126086cdc9 Added the possibility of enforcing constraints on the ionic coordination (still exeperimental).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1845 c92efa57-630b-4861-b058-cf58834340f0
2005-05-02 23:14:06 +00:00
sbraccia 868a421d64 New SHAKE module implemented also in FPMD. The three codes (PW,CP,FPMD) now use the same
algorithms for constrained dynamics. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1842 c92efa57-630b-4861-b058-cf58834340f0
2005-04-30 20:41:48 +00:00
sbraccia d3ee389928 Added the possibility of performing constrained dynamics in the cp code. Constraints on planar angles are implemented in
both pwscf and cp. Both the constraints can be set in the input, with the option of specifying the target.
The electronic step of the cp dynamics has been moved from cpr.f90 to the new subroutine move_electrons.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1837 c92efa57-630b-4861-b058-cf58834340f0
2005-04-28 23:30:51 +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 193516156e - clean-ups, comments and merging
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1829 c92efa57-630b-4861-b058-cf58834340f0
2005-04-22 15:23:19 +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
cavazzon 8bf1d7a48f - more CP/FPMD merging, clean-ups.
- Standard output hopfully made more clear and common between CP/FPMD
 - common CP/FPMD initialization
 - fix for nat checking in cploop


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1775 c92efa57-630b-4861-b058-cf58834340f0
2005-03-30 18:08:01 +00:00
cavazzon b8a7f0bd86 - FPMD/CP90 ionic and electronic nose' thermostat merged
- clean-up


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1763 c92efa57-630b-4861-b058-cf58834340f0
2005-03-26 15:29:07 +00:00
cavazzon bd437a16d3 - Nose' chain from K.Kudin added to CVS
TO BE CHECKED!!
- iotk_multitype_integer splitted into two files to
  workaround compiler problem (IBM xlf) with small simbol stack
- new module with SIC variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1712 c92efa57-630b-4861-b058-cf58834340f0
2005-03-15 14:35:47 +00:00
cavazzon 878a9ebece - more cpv/fpmd merging
- FFT grid (nr1,nr2,nr3 nr1s,nr2s,nr3s) now can be specified in the
  input


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1671 c92efa57-630b-4861-b058-cf58834340f0
2005-03-02 10:03:55 +00:00
cavazzon 2047ff6986 - more CP90/FPMD merging
- fix in the FPMD xc functionals wrapper


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1575 c92efa57-630b-4861-b058-cf58834340f0
2005-01-26 10:15:04 +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 1b6d4786c3 - more CP/FPMD merging
- CP/FPMD specific modules moved back from Modules to CPV


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1482 c92efa57-630b-4861-b058-cf58834340f0
2004-11-26 10:12:26 +00:00
cavazzon 155f29dd8c - cpmplete experimental common CP/FPMD XML-like restart .
CP and FPMD are now linked to a common XML-like
  restart subroutine (see Module/cp_restart.f90 ).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1469 c92efa57-630b-4861-b058-cf58834340f0
2004-11-24 10:56:23 +00:00