Commit Graph

25 Commits

Author SHA1 Message Date
giannozz 863a50a17d "a_0" renamed "alat" in printout to prevent confusion with Bohr radius
and to be consistent with documentation (upon advice from Nicola Manini)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7793 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 11:18:28 +00:00
giannozz 611dc9ee19 Part of a comment had been lost, remaining part was meaningless
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7567 c92efa57-630b-4861-b058-cf58834340f0
2011-03-10 18:33:28 +00:00
dalcorso 15e908187a Small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7533 c92efa57-630b-4861-b058-cf58834340f0
2011-02-28 15:04:50 +00:00
dalcorso 36cded03af Small change of output.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7313 c92efa57-630b-4861-b058-cf58834340f0
2010-12-16 17:25:29 +00:00
giannozz 08d96590f9 More merge of grid dimensions:
1) variables nrxx, nr[123][x] moved from gvect to grid_dimensions
2) when the FFT descriptor, fdfftp, is presewnt, values contained
   in the descriptor are used instead
Beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7167 c92efa57-630b-4861-b058-cf58834340f0
2010-10-26 08:28:22 +00:00
giannozz b41ba40564 Harmonization of FFT grid variables with CP:
nrx1, nrx2, nrx3 => nr1x, nr2x, nr3x
  nrx1s,nrx2s,nrx3s=> nr1sx,nr2sx nr3sx


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7091 c92efa57-630b-4861-b058-cf58834340f0
2010-09-18 16:48:39 +00:00
dalcorso 711f09c79b Another small change to yesterday commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6929 c92efa57-630b-4861-b058-cf58834340f0
2010-07-23 09:23:30 +00:00
dalcorso 789e699f6d Another small change for previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6928 c92efa57-630b-4861-b058-cf58834340f0
2010-07-22 15:26:33 +00:00
dalcorso 239eed3c40 Introduced a atom_type dependent size of spheres used to estimate the
magnetic moment of each atoms in the noncollinear case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6927 c92efa57-630b-4861-b058-cf58834340f0
2010-07-22 13:53:48 +00:00
giannozz 3cd50d0257 More cleanup: spelling of Quantum ESPRESSO, CMPLX explicitly cast, f_defs.h
removed, a few REAL transformed into DBLE. Note that my previos statement
about REAL is overblown: REAl(C) is perfectly safe if C is a double precision
complex number. All changes should be safe.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5793 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 17:48:59 +00:00
dalcorso a2b5ab5e50 Minor partial cleanup. Many routines declared unused variables. Many others
could be cleaned.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5445 c92efa57-630b-4861-b058-cf58834340f0
2009-02-25 15:58:53 +00:00
cavazzon b739a98bae - removing modules: pfft pffts para_const
they contains only copies of variables contained in
  fft data structures: dfftp dffts


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4605 c92efa57-630b-4861-b058-cf58834340f0
2008-01-05 19:27:35 +00:00
degironc aae083bf9e constrained_magnetizatio='atomic' has been extended to the collinear case (nspin=2), where only the z-component of the local moment is constrained.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4360 c92efa57-630b-4861-b058-cf58834340f0
2007-10-23 14:51:28 +00:00
degironc cf2b5cd44a memory reduction for pointlist and factlist (used for constrained magnetization in the non-colinear case) that now are dimensioned nrxx and instead of (nrxx,nat).
reproduce correctly results in examples 13,22,24,35.
SdG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4306 c92efa57-630b-4861-b058-cf58834340f0
2007-10-04 07:44:17 +00:00
giannozz e33117446b routine for non-scf calculation extracted from "electrons" (it was
already a separate routine but contain-ed)
Formatted print in  make_pointlists


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3694 c92efa57-630b-4861-b058-cf58834340f0
2007-01-18 18:02:03 +00:00
giannozz 1e235af88b More patches by Axel: all occurrences of "index" replaced by "idx".
"index" is an instrinsic and shouldn't be used as a variable.
control-M characters removed from qexml.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3585 c92efa57-630b-4861-b058-cf58834340f0
2006-12-01 14:41:55 +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
giannozz bf4bfe222f General cleanup of intrinsic functions:
conversion to real    => DBLE
(including real part of a complex number)
conversion to complex => CMPLX
complex conjugate     => CONJG
imaginary part        => AIMAG

All functions are uppercase.
CMPLX is preprocessed by f_defs.h and performs an explicit cast:
#define CMPLX(a,b)  cmplx(a,b,kind=DP)
This implies that 1) f_defs.h must be included whenever a CMPLX is present,
2) CMPLX should stay in a single line, 3) DP must be defined.

All occurrences of real, float, dreal, dfloat, dconjg, dimag, dcmplx
removed - please do not reintroduce any of them.
Tested only with ifc7 and g95 - beware unintended side effects

Maybe not the best solution (explicit casts everywhere would be better)
but it can be easily changed with a script if the need arises.
The following code might be used to test for possible trouble:

program test_intrinsic

  implicit none
  integer, parameter :: dp = selected_real_kind(14,200)
  real (kind=dp) :: a = 0.123456789012345_dp
  real (kind=dp) :: b = 0.987654321098765_dp
  complex (kind=dp) :: c = ( 0.123456789012345_dp, 0.987654321098765_dp)

  print *, '      A = ', a
  print *, ' DBLE(A)= ', DBLE(a)
  print *, '      C = ', c
  print *, 'CONJG(C)= ', CONJG(c)
  print *, 'DBLE(c),AIMAG(C)  = ', DBLE(c), AIMAG(c)
  print *, 'CMPLX(A,B,kind=dp)= ', CMPLX( a, b, kind=dp)

end program test_intrinsic

Note that CMPLX and REAL without a cast yield single precision numbers on
ifc7 and g95 !!!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2133 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 17:44:42 +00:00
giannozz 50decb486f Added copyright notice where missing (please check)
Modified copyright notice to make it compatible with script
"check_license"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1730 c92efa57-630b-4861-b058-cf58834340f0
2005-03-21 14:01:19 +00:00
dalcorso 9fe7b284e9 electrons.f90 : charge_new is not checked with potential mixing.
make_pointlists.f90 : small change
local.f90 : Bug fix. PWCOND was not working in parallel machines with
            the recently introduced variables me_pool and root_pool.
            (contributed by A. Smogunov)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1535 c92efa57-630b-4861-b058-cf58834340f0
2005-01-05 14:11:48 +00:00
sbraccia e6aa41ea47 Again on the old parallel variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1424 c92efa57-630b-4861-b058-cf58834340f0
2004-11-04 13:35:00 +00:00
dalcorso 8d40663b81 make_pointlists was not working with very strange atomic positions.
small changes in get_locals and report_mag.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1053 c92efa57-630b-4861-b058-cf58834340f0
2004-07-09 13:40:54 +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
sbraccia d1579c66ec Removed references (not yet everywhere) to module basis for those variables already in module ions_base.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@953 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 13:44:18 +00:00
dalcorso 489795748e Cleanup of PWNC.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@928 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 12:54:27 +00:00