@@ -71,7 +71,6 @@ program QCxMS
71
71
integer :: collisions
72
72
integer :: minmass,numb
73
73
integer :: frag_counter,new_counter,save_counter
74
- integer :: simMD, manual_simMD
75
74
integer :: rand_int,dep,convetemp
76
75
integer :: manual_dist
77
76
integer :: arg_list
@@ -228,11 +227,6 @@ program QCxMS
228
227
dumpstep= 4
229
228
! counts the number of QC calls
230
229
calls= 0
231
- ! GS Etemp (to converge radicals etc)
232
- etempGS= 298.15 ! normal ! Maybe make this input relevant
233
- convetemp= 0
234
- ! introduce simmd
235
- simMD = 8000 ! =8000 * 0.5 fs => 4 ps
236
230
! set scaling temp to 0
237
231
tscale = 0.0_wp
238
232
@@ -268,7 +262,7 @@ program QCxMS
268
262
& scani,lowerbound,upperbound, &
269
263
& ELAB,ECOM,eExact,ECP,unity,noecp,nometal, &
270
264
& vScale,CollNo,CollSec,ConstVelo, &
271
- & minmass,manual_simMD,convetemp ,coll, &
265
+ & minmass,etempGS ,coll, &
272
266
& MinPot,ESI,tempESI,No_ESI,NoScale,manual_dist,legacy)
273
267
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
274
268
@@ -398,11 +392,11 @@ program QCxMS
398
392
tmax = tmax* 1000.0_wp
399
393
! # MD steps in a frag run
400
394
nmax = tmax / tstep
401
- ! for CID make dependend on atom size
402
- if (method == 3 ) then
403
- nmax = nuc * 100
404
- tmax = nmax * tstep
405
- endif
395
+ ! ! for CID make dependend on atom size
396
+ ! if(method == 3) then
397
+ ! nmax = nuc * 100
398
+ ! tmax = nmax * tstep
399
+ ! endif
406
400
407
401
! timesteps in au
408
402
tstep = tstep * fstoau
@@ -412,7 +406,7 @@ program QCxMS
412
406
413
407
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
414
408
! printing runtype information and chosen parameters
415
- call info_main(ntraj, tstep/ fstoau, tmax, simMD, Tinit, trelax, eimp0* autoev, mchrg, &
409
+ call info_main(ntraj, tstep/ fstoau, tmax, Tinit, trelax, eimp0* autoev, mchrg, &
416
410
mchrg_prod, ieeatm, iee_a, iee_b, btf, fimp, hacc, ELAB, ECOM, coll% max_coll, &
417
411
CollNo, CollSec, ESI, tempESI, etemp_in, maxsec, betemp, nfragexit, iprog, &
418
412
edistri, legacy)
@@ -538,13 +532,8 @@ program QCxMS
538
532
! initilize the velocities, distribute among the atoms
539
533
call mdinitu(nuc,velo,mass,edum)
540
534
541
- if (convetemp /= 0 )then
542
- etempGS= convetemp
543
- write (* ,* )
544
- write (* ,* ) ' Groundstate eTemp set to' ,etempGS
545
- endif
546
-
547
535
! init the QM code ! Here edum is total energy, not inner energy anymore!
536
+ write (* ,* ) ' Groundstate eTemp set to' ,etempGS
548
537
call iniqm(nuc,xyz,iat,mchrg,mspin,etempGS,edum,iniok,ECP)
549
538
550
539
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -1827,40 +1816,21 @@ program QCxMS
1827
1816
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1828
1817
! > reduce the simulation timings for performance
1829
1818
1830
- ! > Check if the sim. MD time has been manually set
1831
- if ( method == 3 .and. manual_simMD > 0 ) simMD = manual_simMD
1832
-
1833
1819
! > change MFP times to reduce timings (empirical values)
1834
- ! > but only if not set manually
1835
- ! if ( manual_simMD == 0 ) then
1836
- ! simMD = icoll * 0.6 * nuc * 100
1837
- ! if ( simMD > 6000 .and. frag_counter <= 2 ) simMD = 6000
1838
- !
1839
- ! !>> make some timing adjustments
1840
- ! if ( simMD > 6000 .and. frag_counter > 2 ) then
1841
- ! simMD = 6000 * 0.75_wp
1842
- ! elseif ( simMD > 6000 .and. frag_counter > 3 ) then
1843
- ! simMD = 6000 * 0.6_wp
1844
- ! elseif ( simMD > 6000 .and. frag_counter >= 4 ) then
1845
- ! simMD = 6000 * 0.5_wp
1846
- ! endif
1847
-
1848
-
1849
1820
nmax = nuc * 100
1850
1821
1851
1822
! > reduce the MD time if fragmentation in MFP occurs
1852
1823
! > even if manually set
1853
1824
if (isec == 3 ) nmax = int (nmax * 0.75_wp )
1854
1825
if (isec == 4 ) nmax = int (nmax * 0.6_wp )
1855
1826
if (isec >= 5 ) nmax = int (nmax * 0.5_wp )
1856
- ! if ( fragstate == 2 ) simMD = simMD / 2
1857
1827
1858
1828
! >> not too short/long simulations
1859
1829
if ( nmax < 1000 ) nmax = 1000
1860
1830
if ( nmax > 10000 ) nmax = 10000
1861
1831
1862
1832
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1863
- ! ! Do Mean-free-path (MFP) MD with simMD timesteps
1833
+ ! ! Do Mean-free-path (MFP) MD with nmax timesteps
1864
1834
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1865
1835
call md(itrj,icoll,isec,nuc,nmax,xyz,iat,mass,imass,mchrg,grad,&
1866
1836
& velo,velof,list,tstep,j,nfragexit, &
0 commit comments