1. 05 Jul, 2012 1 commit
  2. 20 Jun, 2012 1 commit
  3. 13 Jun, 2011 1 commit
  4. 11 Jun, 2010 1 commit
  5. 01 Aug, 2009 1 commit
  6. 14 Dec, 2006 1 commit
    • giannozz's avatar
      More patches from Axel: · 3a98e2d9
      giannozz authored
      - 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
      3a98e2d9
  7. 02 Dec, 2006 1 commit
    • giannozz's avatar
      More cleanup from Axel: · d4da64ec
      giannozz authored
      - workaround for gfortran (it is sort of working)
      - single precision constants promoted to double precision
      - dfloat-> DBLE
      - DIMAG ->AIMAG
      - DCMPLX->CMPLX
      Note that ALL calls to dfloat, dimag, dcmplx have been added recently,
      since I removed all of them no more than a few months ago
      
      
      git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3586 c92efa57-630b-4861-b058-cf58834340f0
      d4da64ec
  8. 07 Feb, 2006 1 commit
  9. 28 Aug, 2005 1 commit
  10. 26 Aug, 2005 1 commit
    • giannozz's avatar
      General cleanup of intrinsic functions: · bf4bfe22
      giannozz authored
      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
      bf4bfe22
  11. 22 Jun, 2005 1 commit
  12. 26 Oct, 2004 1 commit
  13. 25 Jun, 2004 2 commits
  14. 12 Jun, 2003 1 commit
  15. 27 Feb, 2003 1 commit
  16. 21 Feb, 2003 1 commit
  17. 19 Jan, 2003 1 commit