@@ -104,7 +104,7 @@ subroutine init(dt)
104104 character (len= 20 ) :: xyz_units
105105 character (len= 60 ) :: chdivider
106106 character (len= 60 ) :: mdtype
107- character (len= 60 ) :: itherm
107+ character (len= 60 ) :: therm
108108 character (len= 1024 ) :: tc_server_name, tcpb_input_file, tcpb_host
109109 integer :: tcpb_port
110110 logical :: file_exists
@@ -135,11 +135,11 @@ subroutine init(dt)
135135 namelist / remd/ nswap, nreplica, deltaT, Tmax, temp_list
136136
137137 ! new namelist section for thermostat, previously nhcopt
138- namelist / thermostat/ inose, itherm , temp, temp0, nchain, tau0, tau0_langevin, imasst, nrespnose, nyosh, &
138+ namelist / thermostat/ inose, therm , temp, temp0, nchain, tau0, tau0_langevin, imasst, nrespnose, nyosh, &
139139 scaleveloc, readNHC, nmolt, natmolt, nshakemol, rem_comrot, rem_comvel, gle_test
140140
141141 ! old namelist section for thermostat, kept for backwards compatibility
142- namelist / nhcopt/ inose, temp, temp0, nchain, tau0, tau0_langevin, imasst, nrespnose, nyosh, &
142+ namelist / nhcopt/ inose, therm, temp, temp0, nchain, tau0, tau0_langevin, imasst, nrespnose, nyosh, &
143143 scaleveloc, readNHC, nmolt, natmolt, nshakemol, rem_comrot, rem_comvel, gle_test
144144
145145 namelist / system/ masses, massnames, ndist, dist1, dist2, &
@@ -158,7 +158,7 @@ subroutine init(dt)
158158 tcpb_input_file = ' '
159159 tcpb_port = - 1
160160 mdtype = ' '
161- itherm = ' '
161+ therm = ' '
162162 dt = - 1
163163 nproc = 1
164164 iplumed = 0
@@ -409,14 +409,13 @@ subroutine init(dt)
409409 call initialize_tcpb(natqm, atnames, tcpb_port, tcpb_host, tcpb_input_file)
410410 end if
411411
412- ! first check if 'itherm' keyword was used and then transfer to inose
413- write (stdout, * ) ' itherm = ' , itherm
414- if (itherm /= ' ' ) then
415- itherm = tolower(itherm)
416- select case (itherm)
412+ ! first check if 'therm' keyword was used and then transfer to inose
413+ if (therm /= ' ' ) then
414+ therm = tolower(therm)
415+ select case (therm)
417416 case (' none' )
418417 inose = 0
419- case (' nh ' )
418+ case (' nhc ' )
420419 inose = 1
421420 case (' gle' )
422421 inose = 2
0 commit comments