@@ -71,7 +71,6 @@ program QCxMS
7171integer :: collisions
7272integer :: minmass,numb
7373integer :: frag_counter,new_counter,save_counter
74- integer :: simMD, manual_simMD
7574integer :: rand_int,dep,convetemp
7675integer :: manual_dist
7776integer :: arg_list
@@ -228,11 +227,6 @@ program QCxMS
228227dumpstep= 4
229228! counts the number of QC calls
230229calls= 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
236230! set scaling temp to 0
237231tscale = 0.0_wp
238232
@@ -268,7 +262,7 @@ program QCxMS
268262& scani,lowerbound,upperbound, &
269263& ELAB,ECOM,eExact,ECP,unity,noecp,nometal, &
270264& vScale,CollNo,CollSec,ConstVelo, &
271- & minmass,manual_simMD,convetemp ,coll, &
265+ & minmass,etempGS ,coll, &
272266& MinPot,ESI,tempESI,No_ESI,NoScale,manual_dist,legacy)
273267! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
274268
@@ -398,11 +392,11 @@ program QCxMS
398392tmax = tmax* 1000.0_wp
399393! # MD steps in a frag run
400394nmax = 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
406400
407401! timesteps in au
408402tstep = tstep * fstoau
@@ -412,7 +406,7 @@ program QCxMS
412406
413407! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
414408! 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, &
416410 mchrg_prod, ieeatm, iee_a, iee_b, btf, fimp, hacc, ELAB, ECOM, coll% max_coll, &
417411 CollNo, CollSec, ESI, tempESI, etemp_in, maxsec, betemp, nfragexit, iprog, &
418412 edistri, legacy)
@@ -538,13 +532,8 @@ program QCxMS
538532 ! initilize the velocities, distribute among the atoms
539533 call mdinitu(nuc,velo,mass,edum)
540534
541- if (convetemp /= 0 )then
542- etempGS= convetemp
543- write (* ,* )
544- write (* ,* ) ' Groundstate eTemp set to' ,etempGS
545- endif
546-
547535 ! init the QM code ! Here edum is total energy, not inner energy anymore!
536+ write (* ,* ) ' Groundstate eTemp set to' ,etempGS
548537 call iniqm(nuc,xyz,iat,mchrg,mspin,etempGS,edum,iniok,ECP)
549538
550539 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -1827,40 +1816,21 @@ program QCxMS
18271816 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
18281817 ! > reduce the simulation timings for performance
18291818
1830- ! > Check if the sim. MD time has been manually set
1831- if ( method == 3 .and. manual_simMD > 0 ) simMD = manual_simMD
1832-
18331819 ! > 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-
18491820 nmax = nuc * 100
18501821
18511822 ! > reduce the MD time if fragmentation in MFP occurs
18521823 ! > even if manually set
18531824 if (isec == 3 ) nmax = int (nmax * 0.75_wp )
18541825 if (isec == 4 ) nmax = int (nmax * 0.6_wp )
18551826 if (isec >= 5 ) nmax = int (nmax * 0.5_wp )
1856- ! if ( fragstate == 2 ) simMD = simMD / 2
18571827
18581828 ! >> not too short/long simulations
18591829 if ( nmax < 1000 ) nmax = 1000
18601830 if ( nmax > 10000 ) nmax = 10000
18611831
18621832 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1863- ! ! Do Mean-free-path (MFP) MD with simMD timesteps
1833+ ! ! Do Mean-free-path (MFP) MD with nmax timesteps
18641834 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
18651835 call md(itrj,icoll,isec,nuc,nmax,xyz,iat,mass,imass,mchrg,grad,&
18661836 & velo,velof,list,tstep,j,nfragexit, &
0 commit comments