added nanostructures energy to wham, no differs
[unres.git] / source / wham / src-M / initialize_p.F
index 5800580..b4598e1 100644 (file)
@@ -62,6 +62,7 @@ C
       ihist=30
       iweight=31
       izsc=32
+      itube=45
 C Lipidic input file for parameters range 60-79
       iliptranpar=60
 C
@@ -268,18 +269,18 @@ c-------------------------------------------------------------------------
      &   "ECORR6 ","EELLO ","ETURN3 ","ETURN4 ","ETURN6 ",
      &   "EBE bend","ESC SCloc","ETORS ","ETORSD ","EHPB","EVDWPP",
      &   "EVDW2_14","ESTR","ESCCOR","EDIHC","EVDW_T","ELIPTRAN",
-     &   "EAFM","ETHETC","EMPTY"/
+     &   "EAFM","ETHETC","EMPTY","ETUBE"/
       data wname /
      &   "WSC","WSCP","WELEC","WCORR","WCORR5","WCORR6","WEL_LOC",
      &   "WTURN3","WTURN4","WTURN6","WANG","WSCLOC","WTOR","WTORD",
      &   "WHPB","WVDWPP","WSCP14","WBOND","WSCCOR","WDIHC","WSC",
-     &   "WLIPTRAN","WAFM","WTHETC","WSHIELD"/
+     &   "WLIPTRAN","WAFM","WTHETC","WSHIELD","WTUBE"/
       data ww0 /1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,
      &    1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,1.0d0,0.4d0,1.0d0,1.0d0,
-     &    0.0d0,0.0,0.0d0,0.0d0,0.0d0,0.0d0/
+     &    0.0d0,0.0,0.0d0,0.0d0,0.0d0,0.0d0,0.0d0/
       data nprint_ene /22/
       data print_order /1,2,3,18,11,12,13,14,4,5,6,7,8,9,10,19,
-     &  16,15,17,20,21,24,22,23,1/
+     &  16,15,17,20,21,24,22,23,1,25/
       end 
 c---------------------------------------------------------------------------
       subroutine init_int_table
@@ -527,6 +528,9 @@ C Partition local interactions
       call int_bounds(nres-3,itau_start,itau_end)
       itau_start=itau_start+3
       itau_end=itau_end+3
+      call int_bounds(nres-1,itube_start,itube_end)
+      itube_start=itube_start
+      itube_end=itube_end
       if (lprint) then 
         write (iout,*) 'Processor:',MyID,
      & ' loc_start',loc_start,' loc_end',loc_end,
@@ -552,6 +556,8 @@ C Partition local interactions
       iphi_end=nct
       itau_start=4
       itau_end=nres
+      itube_start=1
+      itube_end=nres-1
 #endif
       return
       end