unres Adam's changes
[unres.git] / source / unres / src-HCD-5D / COMMON.CHAIN
index c394c5e..d666fd9 100644 (file)
@@ -1,21 +1,25 @@
       integer nres,nsup,nstart_sup,nz_start,nz_end,iz_sc,
      &  nres0,nstart_seq,nchain,chain_length,chain_border,iprzes,
-     &  ireschain,tabpermchain,npermchain,afmend,afmbeg
+     &  chain_border1,ireschain,tabpermchain,npermchain,nequiv,
+     &  nchain_group,iequiv,mapchain,afmend,afmbeg,
+     &  nres_chomo,nmodel_start,nran_start
       double precision c,dc,dc_old,d_c_work,xloc,xrot,dc_norm,t,r,
      & prod,rt,dc_work,cref,crefjlee,dc_norm2,velAFMconst,
      & totTafm,chomo
+      character*256 pdbfiles_chomo(max_template)
       common /chain/ c(3,maxres2+2),dc(3,0:maxres2),dc_old(3,0:maxres2),
      & xloc(3,maxres),xrot(3,maxres),dc_norm(3,0:maxres2),
      & dc_norm2(3,0:maxres2),
-     & dc_work(MAXRES6),nres,nres0
+     & dc_work(MAXRES6),nres,nres0,nran_start
       common /rotmat/ t(3,3,maxres),r(3,3,maxres),prod(3,3,maxres),
      &                rt(3,3,maxres) 
       common /refstruct/ cref(3,maxres2+2),
      & crefjlee(3,maxres2+2),
      & nsup,nstart_sup,nstart_seq,iprzes,
      & chain_length(maxchain),npermchain,ireschain(maxres),
-     & tabpermchain(maxchain,maxperm),
-     & chain_border(2,maxchain),nchain
+     & tabpermchain(maxchain,maxperm),nchain_group,
+     &  iequiv(maxchain,maxres),nequiv(maxchain),mapchain(maxchain),
+     & chain_border(2,maxchain),chain_border1(2,maxchain),nchain
       common /from_zscore/ nz_start,nz_end,iz_sc
       double precision boxxsize,boxysize,boxzsize,enecut,sscut,
      & sss,sssgrad,
@@ -30,4 +34,6 @@
      & totTafm
       common /tube/ tubecenter(3),tubeR0,
      & buftubebot, buftubetop,bordtubebot,bordtubetop,tubebufthick          
-      common /chomo_models/ chomo(3,maxres2+2,max_template)
+      common /chomo_models/ chomo(3,maxres2+2,max_template),
+     & nres_chomo(max_template),nmodel_start
+      common /chomo_files/ pdbfiles_chomo