integer nres,nres0,nsup,nstart_sup,nend_sup,nstart_seq, &tabperm,chain_length,nchain,ichain,nres_chain double precision c,cref,dc,xloc,xrot,dc_norm,t,r,prod,rt, & chain_rep common /chain/ c(3,maxres2+2),dc(3,maxres2),xloc(3,maxres), & xrot(3,maxres),dc_norm(3,maxres2),nres,nres0,nchain, & ichain(2,maxres),nres_chain(maxres) common /rotmat/ t(3,3,maxres),r(3,3,maxres),prod(3,3,maxres), & rt(3,3,maxres) common /refstruct/ cref(3,maxres2+2,maxperm), & chain_rep(3,maxres2+2,maxsym), nsup,nstart_sup, & nstart_seq, & nend_sup, chain_length,tabperm(maxperm,maxsym) double precision boxxsize,boxysize,boxzsize,enecut,sscut,sss, &sssgrad common /box/ boxxsize,boxysize,boxzsize,enecut,sscut,sss,sssgrad