Commit Graph

84 Commits

Author SHA1 Message Date
ccavazzoni eabe5f67fd - commit of the latest Axel patch
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10533 c92efa57-630b-4861-b058-cf58834340f0
2013-10-12 22:28:12 +00:00
giannozz 4338c04895 Fixes for more warnings (e.g. unitialized variables) by Axel
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10526 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 14:24:18 +00:00
giannozz 54e626cee1 Minor corrections to both documentation and code reading atomic positions
and cell parameters. Deprecated ways of passing structural data clearly
marked as such.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9700 c92efa57-630b-4861-b058-cf58834340f0
2012-12-12 11:02:15 +00:00
pizzi efb1aef9b6 Now also the cell parameters are printed in the units given in the input, as it was already happening for the atomic positions.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9662 c92efa57-630b-4861-b058-cf58834340f0
2012-11-23 10:09:30 +00:00
giannozz c3d8d62fff More paranoid checks: CELL_PARAMETER bohr or angstrom incompatible with
specification of celldm or a


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9581 c92efa57-630b-4861-b058-cf58834340f0
2012-10-25 19:56:02 +00:00
giannozz 436c072a70 Remove < and > character from input file section when writing pseudopotentials
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9415 c92efa57-630b-4861-b058-cf58834340f0
2012-09-10 06:04:36 +00:00
marsamos 31f09febfd added relax cell with constrained area for 2D systems
contribution from Richards Charles Andrew,
Department of Physics, University of Pretoria
South Africa



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9410 c92efa57-630b-4861-b058-cf58834340f0
2012-09-05 14:45:57 +00:00
giannozz 929e89efb2 celldm(1) is always set equal to alat, in order to prevent trouble in phonon
calculations (notably using matydn/dynmat). This is a workaround: the ultimate
solution is to get rid of celldm everywhere except for reading pw.x input.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9389 c92efa57-630b-4861-b058-cf58834340f0
2012-08-28 15:36:14 +00:00
giannozz 9fbdae2b9c Definition of "iverbosity" made consistent between PW and CP (and with what
the documentation says):
verbosity	iverbosity PW	CP
  'minimal'		0	-1
'default', 'low'	0	 0
  'mediumm'		1	 1
  'high'		1	 2
  'debug'		1	 3



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9110 c92efa57-630b-4861-b058-cf58834340f0
2012-06-19 20:42:47 +00:00
dalcorso f9a7db0def Small cleanup of the saw function.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8888 c92efa57-630b-4861-b058-cf58834340f0
2012-04-14 08:13:58 +00:00
giannozz ee4dc429c4 Clarification on cell_dofree
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8810 c92efa57-630b-4861-b058-cf58834340f0
2012-03-21 21:56:51 +00:00
giannozz 2b1c3a67cf Variable cell_symmetry removed. There is still a problem with electric fields.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8072 c92efa57-630b-4861-b058-cf58834340f0
2011-08-11 07:06:07 +00:00
giannozz 884eb9dc05 Generation of crystal structure merged between CP and PW. Not sure it works
in all combinations of possible cases. At least, it doesn't seem to be more
wrong than before. An undocumented option in CELL_PARAMETERS has been
documented, its behavior aligned with the expected behavior based on previous
documentation. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8063 c92efa57-630b-4861-b058-cf58834340f0
2011-08-08 15:44:00 +00:00
giannozz c9ef03d021 Verbosity control merged between PW and CP; removed undesired dependency of
xc_vdw_DF on input_parameters


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8054 c92efa57-630b-4861-b058-cf58834340f0
2011-08-06 08:43:02 +00:00
giannozz c1fcf62c60 CP can also recognize ibrav=-12 (untested)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7887 c92efa57-630b-4861-b058-cf58834340f0
2011-06-16 20:02:13 +00:00
giannozz 6a87cc3fc1 Fixed bug added during recent changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7481 c92efa57-630b-4861-b058-cf58834340f0
2011-02-06 08:48:34 +00:00
giannozz f2b094c7dc Module cell_nose separated from cell_base and moved to CPV/
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7477 c92efa57-630b-4861-b058-cf58834340f0
2011-02-04 11:16:35 +00:00
giannozz 2b7d346620 Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7476 c92efa57-630b-4861-b058-cf58834340f0
2011-02-04 11:12:39 +00:00
giannozz 022d2e6a93 More minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7462 c92efa57-630b-4861-b058-cf58834340f0
2011-01-31 16:59:53 +00:00
giannozz 2aa1b59f73 Version number updgraded to 4.3a
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7459 c92efa57-630b-4861-b058-cf58834340f0
2011-01-31 15:36:43 +00:00
giannozz 7af84b2e25 Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7458 c92efa57-630b-4861-b058-cf58834340f0
2011-01-31 15:23:48 +00:00
giannozz 5603993133 Primitive lattice vectors made uniform with PW: now they are stored, divided
by alat, into global variable at(3,3). Local auxiliary vectors a1, a2, a3 are
introduced when convenient in order to reduce the number of changes. Beware
unexpected side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7457 c92efa57-630b-4861-b058-cf58834340f0
2011-01-31 14:47:40 +00:00
giannozz bc3a13a0bc Duplicated global variables b1(3), b2(3), b3(3) merged into bg(3,3)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7452 c92efa57-630b-4861-b058-cf58834340f0
2011-01-27 14:04:06 +00:00
ccavazzoni 68701d64af - Fix in CP for units of input pressure.
Input external pressure is in KBar and not in GPa like it was formerly in CP.
  Then from now on input value for variable "press" in cell namelist
  should be given in KBar like it is written on the documentation!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6964 c92efa57-630b-4861-b058-cf58834340f0
2010-08-14 09:43:45 +00:00
giannozz f1334ea9de Variables in input_parameters should not be used during the calculation,
but copied to internal variables. Documentation of "cell_dofree" aligned
with what it actually does. Tests and examples are missing.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6833 c92efa57-630b-4861-b058-cf58834340f0
2010-06-12 17:04:48 +00:00
dceresoli ffc1aaaad7 Feature request from Intel: constant volume variable cell relaxation
(cell_dofree = 'shape'). (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6815 c92efa57-630b-4861-b058-cf58834340f0
2010-06-04 15:43:06 +00:00
giannozz 905a09f7bd iOne more format increased (was too small for large cells)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6430 c92efa57-630b-4861-b058-cf58834340f0
2010-02-17 16:45:43 +00:00
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 2519c47136 Tabulators and unused variables removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5647 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:07:21 +00:00
degironc 92279bc69a Reformulation of the dipole and macroscopic electric field treatment in slab
calculations using a unique saw(x) function (included in cell_base) in
all e-field related routines (energy, potential, forces, ..) and inclusion
of a macroscopic electronic dipole contribution in the mixing scheme.
This should solve charge sloshing problems that appeared with the prevous
version in metallic slabs.

Riccardo Sabatini and Stefano deGironcoli


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5627 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 14:06:04 +00:00
giannozz 2e18fb63cf Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5115 c92efa57-630b-4861-b058-cf58834340f0
2008-08-09 13:06:06 +00:00
cavazzon 1424a3adc4 - FPMD/CP merging of ions dynamics
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5109 c92efa57-630b-4861-b058-cf58834340f0
2008-08-03 19:04:09 +00:00
cavazzon 7efa25636b - minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5088 c92efa57-630b-4861-b058-cf58834340f0
2008-07-29 15:32:43 +00:00
degironc 5bf570513b bfgs minimization has been added to the vc-relax calculation.
Scaled (crystal) coordinates (+ cell if needed) are used in the relazation.
In the normal case it shouls behave exactly as usual.
CVSexample has been updated adding an example for this feature...
Once reasonably tested and robust it may be better to move these cases in
exanple03 that contains other relaxation examples.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4536 c92efa57-630b-4861-b058-cf58834340f0
2007-12-19 14:41:24 +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
cavazzon b08fadb543 - clean-up, unused subroutines removed,
more comments and source readability


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3835 c92efa57-630b-4861-b058-cf58834340f0
2007-03-05 09:56:01 +00:00
giannozz e0a4d3df06 In the triclinic case (ibrav=1) the translation from traditional cell
parameters a, b, c, cosab, cosac, cosbc, to celldm was not correct.
Documentation updated. Courtesy of Marco Fornari.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3763 c92efa57-630b-4861-b058-cf58834340f0
2007-02-08 11:08:48 +00:00
kkudin 4a7205a54b An update on check-in [4430]. New vc constraints are removed from CPV (due to
lack of sufficient clarity). PW vc code is updated. For some reason vc-relax
rotates cell vectors a little (i.e. there seem to be a pure rotation in
the dispacement), somebody with more experise should look at that.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3685 c92efa57-630b-4861-b058-cf58834340f0
2007-01-17 17:29:07 +00:00
kkudin 54ba47fe8a Kind of added cell optimization constraints for 'vc-relax' into PW
similarly to CP code via "cell_dofree" (and iforceh). So "cell_dofree"
now appears to be working for PW, and has a couple of new options
'xyt' and 'xyzt' which should allow to optimize only (x1,x2,y2) and
(x1,x2,y2,x3,y3,z3) components of the lattice vectors. If these added
constraints really do work properly in PW - only time will tell ...

It would be nice to merge "cell_base_init" from CPV to PW, and also
"cellmd" module of PW into "cell_base" of CPV. Otherwise these seem to
exist and be updated separately despite having identical
functionality.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3680 c92efa57-630b-4861-b058-cf58834340f0
2007-01-16 20:09:37 +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 6e55c387ee Axel's patch: removal of unused variables, replacement of variable "index"
with a less dangerous "idx" ("index" is an intrinsic: some compilers may
complain, or even do strange things)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3574 c92efa57-630b-4861-b058-cf58834340f0
2006-11-27 15:06:51 +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 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
cavazzon ab37050da2 - bug fix, fpmd wasn't able to manage pseudo with radial grid
starting from 0.
- more static array removed
- clean-ups and mergings


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3010 c92efa57-630b-4861-b058-cf58834340f0
2006-04-09 23:38:56 +00:00
cavazzon e817d7c43c - removed old mpi wrappers reduce.f90, that was used in CP
- more changes for parallelization over images


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2965 c92efa57-630b-4861-b058-cf58834340f0
2006-03-27 17:01:30 +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
sbraccia 7fcbb32dd0 CP: the reciprocal lattice vectors bg were in the wrong units (different from those
used in PW for the same variable). C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2333 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 15:42:30 +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
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