2
subroutine compat_params(str)
4
c Some internal parameters tend to change over time... This routine
5
c assigns values to them based on a set of directives, specified
6
c at the top of the input file as:
14
c COMPAT_UCB : Revert to the standard circa 1990 UCB values. Note
15
c that these correspond to the first released version
16
c of Jose Luis Martins code, not to the old Froyen
17
c version (that would be 'froyen' --to be implemented)
18
c (The default is: to use a denser grid up to larger radii.
19
c Use a larger value for the ps's ecuts.
20
c Use the Soler-Balbas XC package)
22
c NEW_CC : New core-correction scheme
23
c OLD_CC : Old core-correction scheme (see wrapup.f)
25
c The default is to use the new CC scheme only for GGA calculations.
28
c For compatibility with an interim scheme using strings in the
29
c input file, this routine accepts an argument "str". If not
30
c empty, the user is warned that those strings now carry no
39
external leqi, defined
41
if (str .ne. " ") then
43
$ '** WARNING: Compatibility string obsolete: ',
48
if (defined('COMPAT_UCB')) then
50
write(6,'(a)') '*** UCB compatibility mode ***'
67
c Flag to use the old excorr subroutine.
69
if (defined('USE_OLD_EXCORR')) use_excorr = .true.
71
c Avoid cutting off ionic unscreened pseudopotentials
73
if (defined('NO_PS_CUTOFFS')) ecuts = 0.d0
75
use_old_cc = defined('OLD_CC')
76
use_new_cc = defined('NEW_CC')