integer nres,nres0,nsup,nstart_sup,nend_sup,nstart_seq,nref, & tabpermchain,npermchain,chain_length,chain_border,nchain double precision c,dc,xloc,xrot,dc_norm,dc_norm2,t,r,prod,rt,cref, & crefjlee common /chain/ c(3,maxres2+2),dc(3,0:maxres2),xloc(3,maxres), &xrot(3,maxres),dc_norm(3,maxres2),dc_norm2(3,0:maxres2),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,maxref,maxT,maxprot), & nsup(maxprot),nstart_sup(maxprot),nend_sup(maxprot),nstart_seq, & nref(maxT,maxprot),chain_length(maxchain), & npermchain,tabpermchain(maxchain,maxperm), & chain_border(2,maxchain),nchain double precision boxxsize,boxysize,boxzsize,enecutt,sscut,sss, &sssgrad, & buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick common /box/ boxxsize,boxysize,boxzsize,enecutt,sscut,sss,sssgrad, & buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick