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 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 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 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 common /from_zscore/ nz_start,nz_end,iz_sc double precision boxxsize,boxysize,boxzsize,enecut,sscut, & sss,sssgrad, & buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick, & tubecenter,tubeR0, & buftubebot, buftubetop,bordtubebot,bordtubetop,tubebufthick double precision forceAFMconst, distafminit common /box/ boxxsize,boxysize,boxzsize,enecut,sscut,sss,sssgrad, & buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick common /afm/ forceAFMconst, distafminit,afmend,afmbeg, & velAFMconst, & totTafm common /tube/ tubecenter(3),tubeR0, & buftubebot, buftubetop,bordtubebot,bordtubetop,tubebufthick common /chomo_models/ chomo(3,maxres2+2,max_template)