@@ -65,8 +65,8 @@ subroutine newD3Model(dispm,nat,at)
65
65
66
66
intrinsic :: nint
67
67
68
- type (xtb_zone) :: ctx
69
- call ctx % start(" src/disp/dftd4.F90" , " newD3Model" , __LINE__, color= TracyColors% SteelBlue1)
68
+ type (xtb_zone) :: zone
69
+ call zone % start(" src/disp/dftd4.F90" , " newD3Model" , __LINE__, color= TracyColors% SteelBlue1)
70
70
71
71
call init(dispm, maxElem= maxval (at))
72
72
@@ -121,8 +121,8 @@ subroutine newD4Model(dispm,g_a,g_c,mode)
121
121
122
122
intrinsic :: nint
123
123
124
- type (xtb_zone) :: ctx
125
- call ctx % start(" src/disp/dftd4.F90" , " newD4Model" , __LINE__, color= TracyColors% SteelBlue1)
124
+ type (xtb_zone) :: zone
125
+ call zone % start(" src/disp/dftd4.F90" , " newD4Model" , __LINE__, color= TracyColors% SteelBlue1)
126
126
127
127
call init(dispm)
128
128
@@ -611,8 +611,8 @@ subroutine d4(dispm,nat,ndim,at,wf,g_a,g_c,covcn,gw,c6abns)
611
611
612
612
intrinsic :: maxval
613
613
614
- type (xtb_zone) :: ctx
615
- call ctx % start(" src/disp/dftd4.F90" , " d4" , __LINE__, color= TracyColors% SteelBlue1)
614
+ type (xtb_zone) :: zone
615
+ call zone % start(" src/disp/dftd4.F90" , " d4" , __LINE__, color= TracyColors% SteelBlue1)
616
616
617
617
allocate ( itbl(7 ,nat), source = 0 )
618
618
@@ -687,8 +687,8 @@ subroutine build_wdispmat(dispm,nat,ndim,at,itbl,xyz,par,c6abns,gw,wdispmat)
687
687
real (wp), parameter :: rthr = 72.0_wp ! slightly larger than in gradient
688
688
real (wp), parameter :: gwcut = 1.0e-7_wp
689
689
690
- type (xtb_zone) :: ctx
691
- call ctx % start(" src/disp/dftd4.F90" , " build_wdispmat" , __LINE__, color= TracyColors% SteelBlue1)
690
+ type (xtb_zone) :: zone
691
+ call zone % start(" src/disp/dftd4.F90" , " build_wdispmat" , __LINE__, color= TracyColors% SteelBlue1)
692
692
693
693
! acc enter data create(wdispmat) copyin(at, xyz, itbl, dispm, dispm%nref, &
694
694
! acc& c6abns, gw, par)
@@ -771,8 +771,8 @@ subroutine disppot(dispm,nat,ndim,at,itbl,q,g_a,g_c,wdispmat,gw,hdisp)
771
771
772
772
intrinsic :: sum,dble
773
773
774
- type (xtb_zone) :: ctx
775
- call ctx % start(" src/disp/dftd4.F90" , " disppot" , __LINE__, color= TracyColors% Steelblue1)
774
+ type (xtb_zone) :: zone
775
+ call zone % start(" src/disp/dftd4.F90" , " disppot" , __LINE__, color= TracyColors% Steelblue1)
776
776
777
777
allocate ( zetavec(ndim),zerovec(ndim),dumvec(ndim), source = 0._wp )
778
778
@@ -1000,8 +1000,8 @@ subroutine weight_references(dispm, nat, atoms, g_a, g_c, wf, q, cn, zeff, gam,
1000
1000
real (wp) :: norm, dnorm, twf, gw, expw, expd, gwk, dgwk
1001
1001
real (wp) :: gi, zi
1002
1002
1003
- type (xtb_zone) :: ctx
1004
- call ctx % start(" src/disp/dftd4.F90" , " weight_references" , __LINE__, color= TracyColors% SteelBlue1)
1003
+ type (xtb_zone) :: zone
1004
+ call zone % start(" src/disp/dftd4.F90" , " weight_references" , __LINE__, color= TracyColors% SteelBlue1)
1005
1005
1006
1006
! acc enter data create(zetavec, zerovec, zetadq, zetadq, zetadcn, zerodcn) &
1007
1007
! acc& copyin(dispm, dispm%nref, dispm%ncount, dispm%cn, dispm%q, atoms, &
@@ -1114,8 +1114,8 @@ subroutine get_atomic_c6(dispm, nat, atoms, zetavec, zetadcn, zetadq, &
1114
1114
integer :: iat, jat, ati, atj, iref, jref
1115
1115
real (wp) :: refc6, dc6, dc6dcni, dc6dcnj, dc6dqi, dc6dqj
1116
1116
1117
- type (xtb_zone) :: ctx
1118
- call ctx % start(" src/disp/dftd4.F90" , " get_atomic_c6" , __LINE__, color= TracyColors% SteelBlue1)
1117
+ type (xtb_zone) :: zone
1118
+ call zone % start(" src/disp/dftd4.F90" , " get_atomic_c6" , __LINE__, color= TracyColors% SteelBlue1)
1119
1119
1120
1120
! $acc enter data create(c6, dc6dcn, dc6dq) copyin(atoms, dispm, dispm%nref, dispm%c6, &
1121
1121
! $acc& zetavec, zetadcn, zetadq)
@@ -1247,8 +1247,8 @@ subroutine d4_full_gradient_neigh &
1247
1247
real (wp), allocatable :: c6(:, :), dc6dcn(:, :), dc6dq(:, :)
1248
1248
real (wp), allocatable :: energies(:), energies3(:), dEdcn(:), dEdq(:)
1249
1249
1250
- type (xtb_zone) :: ctx
1251
- call ctx % start(" src/disp/dftd4.F90" , " d4_full_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1250
+ type (xtb_zone) :: zone
1251
+ call zone % start(" src/disp/dftd4.F90" , " d4_full_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1252
1252
1253
1253
nat = len (mol)
1254
1254
max_ref = maxval (dispm% nref(mol% at))
@@ -1355,8 +1355,8 @@ subroutine d4_gradient_neigh &
1355
1355
real (wp), allocatable :: c6(:, :), dc6dcn(:, :), dc6dq(:, :)
1356
1356
real (wp), allocatable :: energies(:), dEdcn(:), dEdq(:)
1357
1357
1358
- type (xtb_zone) :: ctx
1359
- call ctx % start(" src/disp/dftd4.F90" , " d4_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1358
+ type (xtb_zone) :: zone
1359
+ call zone % start(" src/disp/dftd4.F90" , " d4_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1360
1360
1361
1361
nat = len (mol)
1362
1362
max_ref = maxval (dispm% nref(mol% at))
@@ -1434,8 +1434,8 @@ subroutine disp_gradient_neigh &
1434
1434
real (wp) :: r4 r2ij, r0, rij(3 ), r2, t6, t8, t10, d6, d8, d10
1435
1435
real (wp) :: dE, dG(3 ), dS(3 , 3 ), disp, ddisp
1436
1436
1437
- type (xtb_zone) :: ctx
1438
- call ctx % start(" src/disp/dftd4.F90" , " disp_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1437
+ type (xtb_zone) :: zone
1438
+ call zone % start(" src/disp/dftd4.F90" , " disp_gradient_neigh" , __LINE__, color= TracyColors% SteelBlue1)
1439
1439
1440
1440
! $omp parallel do default(none) &
1441
1441
! $omp reduction(+:energies, gradient, sigma, dEdcn, dEdq) &
@@ -1730,8 +1730,8 @@ subroutine d4_full_gradient_latp &
1730
1730
real (wp), allocatable :: c6(:, :), dc6dcn(:, :), dc6dq(:, :)
1731
1731
real (wp), allocatable :: energies(:), energies3(:), dEdcn(:), dEdq(:)
1732
1732
1733
- type (xtb_zone) :: ctx
1734
- call ctx % start(" src/disp/dftd4.F90" , " d4_full_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1733
+ type (xtb_zone) :: zone
1734
+ call zone % start(" src/disp/dftd4.F90" , " d4_full_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1735
1735
1736
1736
nat = len (mol)
1737
1737
max_ref = maxval (dispm% nref(mol% at))
@@ -1843,8 +1843,8 @@ subroutine d4_gradient_latp &
1843
1843
real (wp), allocatable :: c6(:, :), dc6dcn(:, :), dc6dq(:, :)
1844
1844
real (wp), allocatable :: energies(:), energies3(:), dEdcn(:), dEdq(:)
1845
1845
1846
- type (xtb_zone) :: ctx
1847
- call ctx % start(" src/disp/dftd4.F90" , " d4_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1846
+ type (xtb_zone) :: zone
1847
+ call zone % start(" src/disp/dftd4.F90" , " d4_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1848
1848
1849
1849
nat = len (mol)
1850
1850
max_ref = maxval (dispm% nref(mol% at))
@@ -1921,8 +1921,8 @@ subroutine disp_gradient_latp &
1921
1921
real (wp) :: r4 r2ij, r0, rij(3 ), r2, t6, t8, t10, d6, d8, d10
1922
1922
real (wp) :: dE, dG(3 ), dS(3 , 3 ), disp, ddisp
1923
1923
1924
- type (xtb_zone) :: ctx
1925
- call ctx % start(" src/disp/dftd4.F90" , " disp_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1924
+ type (xtb_zone) :: zone
1925
+ call zone % start(" src/disp/dftd4.F90" , " disp_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
1926
1926
1927
1927
nat = len (mol)
1928
1928
cutoff2 = cutoff** 2
@@ -2041,8 +2041,8 @@ subroutine d4_atm_gradient_latp &
2041
2041
real (wp), allocatable :: c6(:, :), dc6dcn(:, :), dc6dq(:, :)
2042
2042
real (wp), allocatable :: energies(:), energies3(:), dEdcn(:), dEdq(:)
2043
2043
2044
- type (xtb_zone) :: ctx
2045
- call ctx % start(" src/disp/dftd4.F90" , " d4_atm_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
2044
+ type (xtb_zone) :: zone
2045
+ call zone % start(" src/disp/dftd4.F90" , " d4_atm_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
2046
2046
2047
2047
nat = len (mol)
2048
2048
max_ref = maxval (dispm% nref(mol% at))
@@ -2105,8 +2105,8 @@ subroutine atm_gradient_latp &
2105
2105
real (wp), parameter :: sr = 4.0_wp / 3.0_wp
2106
2106
logical :: doPBC
2107
2107
2108
- type (xtb_zone) :: ctx
2109
- call ctx % start(" src/disp/dftd4.F90" , " atm_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
2108
+ type (xtb_zone) :: zone
2109
+ call zone % start(" src/disp/dftd4.F90" , " atm_gradient_latp" , __LINE__, color= TracyColors% SteelBlue1)
2110
2110
2111
2111
cutoff2 = cutoff** 2
2112
2112
nat = len (mol) ! workaround for legacy Intel Fortran compilers
0 commit comments