Commit Graph

36 Commits

Author SHA1 Message Date
giannozz a3a39fc998 Cleanup: uniform spelling for "Quantum ESPRESSO", removal of f_defs.h,
CMPLX is explicitly typed, blas/lapack are lowercase (consistently with
the convention: FORTRAN COMMANDS = uppercase, all the rest lowercase)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5789 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 14:26:46 +00:00
giannozz a82ffc4c29 Physical constants updated to the latest NIST data, consistent values
used in some files that used a local (less accurate) value (Axel).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4767 c92efa57-630b-4861-b058-cf58834340f0
2008-04-02 09:58:59 +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 0ecd22ef5d Introduced the constant c_au, speed of light in atomic units, and used
it consistently in the atomic code.
Modified the default for xmin (-12.0) and dx (0.008) when iswitch=1,
otherwise the total energy is not fully converged. (experimental)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4243 c92efa57-630b-4861-b058-cf58834340f0
2007-09-14 15:40:52 +00:00
dalcorso 27a261ce75 Added eps12.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4199 c92efa57-630b-4861-b058-cf58834340f0
2007-09-03 06:49:16 +00:00
giannozz 45ae58d60b All occurrences of d0, d+N, d-N, replaced with fortran-90 style _DP.
Please do not re-introduce old-style syntax. A uniform syntax allows
if the need arises to change the precision in less than no time.
Courtesy of Pascal Thibeaudeau. Modules/ directory only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3964 c92efa57-630b-4861-b058-cf58834340f0
2007-06-11 17:13:15 +00:00
giannozz be89478de6 Axel: dim is a reserved word, use dim1 instead
Perl script to extract the value of constants


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3647 c92efa57-630b-4861-b058-cf58834340f0
2007-01-08 11:49:09 +00:00
giannozz 32683ebdd7 Variable "pi34" was meaning different things in different places.
This has lead to unintended side effects with the last cleanup.
For the time being, pi34 = 3*pi/4 is removed from constants.f90;
pi34 = 3/(4*pi) is left in more_functionals.f90 as local variable;
pi34 = (3/(4*pi))^(1/3) is left in functionals.f90 and
lsda_functionals.f90 as local variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3604 c92efa57-630b-4861-b058-cf58834340f0
2006-12-14 17:10:36 +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 9e294c022d More cleanup from Axel:
- replace variables that have the names of keywords:
  IF (this should make the code non-compilable!),
  INT, SCALE.
- CALL getenv -> CALL get_env  (which is the only place to call
  getenv(). BTW, newer fortran standards now recommend to use
  CALL get_environment_variable, so it might be needed to have
  only one platform dependend place)
- makefile cleanup in VIB (more consistent with subdirs, not yet
  perfect).
- whitespace fix (avoid tabs!).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3591 c92efa57-630b-4861-b058-cf58834340f0
2006-12-11 10:19:53 +00:00
giannozz ff405e66ec Cleanup in constants: factem => 1/k_boltzmann
Some unused formats removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3380 c92efa57-630b-4861-b058-cf58834340f0
2006-09-12 17:11:36 +00:00
giannozz ac00a4943e Fixed factor 10 error in Debye iintroduced by recent cleanup of constants
k_boltzman_au => k_boltzmann_au


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3365 c92efa57-630b-4861-b058-cf58834340f0
2006-09-07 13:04:29 +00:00
giannozz 2524864ad7 Cleanup of physical constants and conversion factors (to be completed)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3356 c92efa57-630b-4861-b058-cf58834340f0
2006-08-30 16:32:10 +00:00
giannozz 65a7670b85 Minor cleanup of unused variables and of constants
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3202 c92efa57-630b-4861-b058-cf58834340f0
2006-06-23 13:46:13 +00:00
giannozz e6e461d59d terahertz and au_terahertz merged
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3185 c92efa57-630b-4861-b058-cf58834340f0
2006-06-16 10:21:05 +00:00
giannozz c7f3d7ed2b Some cleanup of unit conversion variables (more to come):
scmass => amu_au , au => autoev


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3183 c92efa57-630b-4861-b058-cf58834340f0
2006-06-16 10:10:53 +00:00
giannozz 2346fbee95 - since there are two definitions of Ry, they should at least be the same !!!
- version updated to 3.1.1 (hopefully coming soon to a theater near you)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3182 c92efa57-630b-4861-b058-cf58834340f0
2006-06-16 07:57:19 +00:00
degironc a07bf318f1 some small additions to pw2wannier90.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3014 c92efa57-630b-4861-b058-cf58834340f0
2006-04-11 15:38:24 +00:00
sbraccia 05fbef4dd5 Cleanup of the dynamics module. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2927 c92efa57-630b-4861-b058-cf58834340f0
2006-03-17 14:07:11 +00:00
silviu a769468c41 Adding conversion for dipole moment from AU to Debye. [silviu]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2495 c92efa57-630b-4861-b058-cf58834340f0
2005-11-20 21:17:49 +00:00
giannozz 201b68ac9a UMA => AMU everywhere . For people not speaking latin-derived languages
the connection between UMA and Atomic Mass Units is not obvious.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2359 c92efa57-630b-4861-b058-cf58834340f0
2005-10-25 13:08:29 +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 856d5ced1f - fpmd2upf made more user friendly
- sph_bes, check on small G changed to avoid
  problems with log. atomic grid , that are dense near 0


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1921 c92efa57-630b-4861-b058-cf58834340f0
2005-05-27 13:49:19 +00:00
sbraccia 0c82a0b539 Cleanup of the pwscf molecular dynamics stuff. Velocity rescaling fully implemented.
Documentation updated. Unused variables and routines removed.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1483 c92efa57-630b-4861-b058-cf58834340f0
2004-11-26 16:49:02 +00:00
sbraccia 01023df017 path optimization:
1) cleanup of the output format (more informative)
   2) some cleanup of internal routines
   3) added a couple of input variables and changed the default value
      of ds from 1.5 to 1.0.
BFGS optimization:
   1) implemented a mixed BFGS + Murtag-Sargent update of the inverse
      hessian which is generally faster than the pure BFGS
   2) trust_radius_max increased to 0.8 bohr
   3) some cleanup of internal routines
(C.S.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1414 c92efa57-630b-4861-b058-cf58834340f0
2004-11-03 09:53:12 +00:00
cavazzon 5e5b2e6139 - same cell dynamics subroutines used in CP and FPMD
- input pressure in GPa ( both code )
- Output stress in GPa ( both code )
- Output layout made more similar:
  energies, positions, forces, cell
  displayed in the same way
- Zero velocities after a restart implemented in CP
- Nose and damped dynamics for cell implemented
  in FPMD like in CP
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1260 c92efa57-630b-4861-b058-cf58834340f0
2004-09-13 08:49:06 +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
sbraccia e4c70c0af2 NEB: 1) a backup copy of the restart file is written at each iteration on the scratch
directory.
     2) velocities can be reset (reset_vel keyword) when restarting from file.
Cleanup of bfgs stuff.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@847 c92efa57-630b-4861-b058-cf58834340f0
2004-05-03 08:48:48 +00:00
sbraccia 5c5e5e2070 Added eps16 (1.0D-16) and eps32 (1.0D-32).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@368 c92efa57-630b-4861-b058-cf58834340f0
2003-11-05 11:35:48 +00:00
sbraccia 58d64207ca eV_to_kelvin PARAMETER added.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@349 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 10:41:05 +00:00
cavazzon b361a00b78 restart file restructure started.
new hpsort that should solve the problems with the unique
g vectors ordering, d1, d2, d3 eliminated from ggens of all
the codes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@253 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 14:30:44 +00:00
cavazzon 1491227547 more merging, recvecs module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@239 c92efa57-630b-4861-b058-cf58834340f0
2003-06-16 10:41:12 +00:00
cavazzon daad304857 - Cleanup
- similar subroutines and variables merged together


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@223 c92efa57-630b-4861-b058-cf58834340f0
2003-06-02 20:55:14 +00:00
cavazzon 1b9a9caa6b Working on FFTs, added module fft_scalar that will
contain all scalar fft drivers


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@157 c92efa57-630b-4861-b058-cf58834340f0
2003-04-17 21:43:54 +00:00
giannozz 9e3a2de758 Support for lahey compiler added: "error" renamed to "errore", "rnd" to "rndx"
bug in io_base fixed
PARA => __PARA
cinterpolate moved into interpolate


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@86 c92efa57-630b-4861-b058-cf58834340f0
2003-02-21 14:57:00 +00:00
cavazzon 15dd1c757c - many small changes ( comments and standartd output layout )
- some new pseudo
- some new cp_examples
- NEW shared module constants, this is the merge of FPMD and PW constants module
- NEW fpmd2upf pseudo converter (from fpmd format to upf )

carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@22 c92efa57-630b-4861-b058-cf58834340f0
2003-01-26 22:39:33 +00:00