mirror of https://gitlab.com/QEF/q-e.git
More PGI weirdness from Andrea Ferretti - initialization of derived-type
variables should be avoided: it is not supported by all compilers. Please test for unexpected side effects of removal of initial values! git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4695 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
8d855461b7
commit
0ced6054f9
|
@ -30,9 +30,9 @@ MODULE paw_variables
|
|||
|
||||
TYPE paw_radial_integrator
|
||||
! the following variables are used to integrate radial sampling
|
||||
INTEGER :: lmax = 0 ! max l component that can be integrated correctly
|
||||
INTEGER :: lm_max = 0 ! as above, but +1 and squared
|
||||
INTEGER :: nx = 0 ! number of itegration directions
|
||||
INTEGER :: lmax ! max l component that can be integrated correctly
|
||||
INTEGER :: lm_max ! as above, but +1 and squared
|
||||
INTEGER :: nx ! number of integration directions
|
||||
REAL(DP),POINTER :: ww(:) ! integration weights (one per direction)
|
||||
REAL(DP),POINTER :: ylm(:,:) ! Y_lm(nx,lm_max)
|
||||
REAL(DP),POINTER :: wwylm(:,:) ! ww(nx) * Y_lm(nx,lm_max)
|
||||
|
|
|
@ -55,7 +55,7 @@ TYPE radial_grid_type
|
|||
REAL(DP) :: &
|
||||
xmin, & ! the minimum x
|
||||
rmax, & ! the maximum radial point
|
||||
zmesh=-1.d0,& ! the ionic charge used for the mesh
|
||||
zmesh, & ! the ionic charge used for the mesh
|
||||
dx ! the deltax of the linear mesh
|
||||
END TYPE radial_grid_type
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
!
|
||||
! Copyright (C) 2001-2006 Quantum-ESPRESSO group
|
||||
! Copyright (C) 2001-2008 Quantum-ESPRESSO group
|
||||
! This file is distributed under the terms of the
|
||||
! GNU General Public License. See the file `License'
|
||||
! in the root directory of the present distribution,
|
||||
|
@ -24,11 +24,11 @@ MODULE io_rho_xml
|
|||
|
||||
INTERFACE write_rho
|
||||
MODULE PROCEDURE write_rho_only, write_rho_general
|
||||
END INTERFACE write_rho
|
||||
END INTERFACE
|
||||
|
||||
INTERFACE read_rho
|
||||
MODULE PROCEDURE read_rho_only, read_rho_general
|
||||
END INTERFACE read_rho
|
||||
END INTERFACE
|
||||
|
||||
CONTAINS
|
||||
|
||||
|
|
Loading…
Reference in New Issue