Commit Graph

91 Commits

Author SHA1 Message Date
umari 3f385a668b Added electric field input possibility
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2336 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 18:14:30 +00:00
sbraccia ba4d2bef4b Several bug-fix and clean-up.
NEB: removed unused variables; removed allocatable input arrays from input_parameters (to be
consistent with the rest of the input stuff) and replaced by static arrays.
XML: unit 99 used to read/write wfc's replaced by a call to iotk_free_unit.
constraints: the static array "fion" is passed as an array-section to constraint subroutines.
metadyn: fe_step must be defined as an array of "time-steps" (one for each deg-of-freedom).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2322 c92efa57-630b-4861-b058-cf58834340f0
2005-10-20 15:22:12 +00:00
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 da075dba31 - CP post processing updated to use iotk
- small fix in randpos


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2219 c92efa57-630b-4861-b058-cf58834340f0
2005-09-25 22:59:33 +00:00
sbraccia 5e399e3a0b First experimental version of the Laio-Parrinello metadynamics. This implementation
is compatible with both PWscf and CP. Examples and documentation will follow.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2199 c92efa57-630b-4861-b058-cf58834340f0
2005-09-20 15:17:18 +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 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
cavazzon f042695867 - added input parameter "refg" in the control namelist to set the
accurancy of the pseudopotential table for CP/FPMD (default values = 0.05Ryd)
  mmx now is calculated depending on refg and ecutrho


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2155 c92efa57-630b-4861-b058-cf58834340f0
2005-09-06 09:27:34 +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
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 39aa8f58be Dynamics with wannier functions: variables wf_dt and wfdt unified. Added a check on
the input value of calwf.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2119 c92efa57-630b-4861-b058-cf58834340f0
2005-08-23 18:42:25 +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
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
cavazzon 59b4f60f8b - FPMD/CP variable "nbnd" and "nelec" are computed automatically if
not specified in the input, like in PW
- FPMD/CP directory for restart file now could be specified with
  the input parameter "scradir" in the control namelist
- FPMD: NEB is working again!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2051 c92efa57-630b-4861-b058-cf58834340f0
2005-07-27 16:09:03 +00:00
sbraccia ba2edda164 Cleanup of unused variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2033 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 02:56:45 +00:00
sbraccia d92755e936 Greneral cleanup. NEB works again also with the CP code.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2032 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 01:16:41 +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 601e5ef13f Cleanup. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2002 c92efa57-630b-4861-b058-cf58834340f0
2005-07-08 02:56:05 +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 eaa2293534 Added a card for plotting wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1991 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 20:39:45 +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 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 e1097e16e2 - in CP/FPMD added the possibility to specify input with
command line parameter -input like in PW
- restart file layout modified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1945 c92efa57-630b-4861-b058-cf58834340f0
2005-06-08 21:30:34 +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
cavazzon 06b27d95f6 - ylmr2 (from flib) nown used to compute spherical harmonics in FPMD and
qqberry too.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1851 c92efa57-630b-4861-b058-cf58834340f0
2005-05-08 21:10:20 +00:00
sbraccia de4829b85a Fixed some bugs in the constrained dynamics. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1846 c92efa57-630b-4861-b058-cf58834340f0
2005-05-03 22:53:55 +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
cavazzon 54b83781e9 - clean-ups, removed old FPMD constraints, and old FPMD formf
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1843 c92efa57-630b-4861-b058-cf58834340f0
2005-05-01 20:53:24 +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 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 5c76ffedc4 - some variables appeared in "use" statement two time
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1707 c92efa57-630b-4861-b058-cf58834340f0
2005-03-14 16:15:10 +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 2efa68d315 - workarounds for xlf compiler
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1562 c92efa57-630b-4861-b058-cf58834340f0
2005-01-15 20:07:08 +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 804ac1fdcf - CP/FPMD merging and clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1486 c92efa57-630b-4861-b058-cf58834340f0
2004-11-28 22:11:41 +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 87700b86cc - some more changes relative to FPMD files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1481 c92efa57-630b-4861-b058-cf58834340f0
2004-11-25 15:43:24 +00:00